[Slackbuilds-users] Regarding "make V=1" in the autotools template
B. Watson
urchlay at slackware.uk
Fri Aug 7 05:27:49 UTC 2026
On Fri, 7 Aug 2026, Duncan Roe wrote:
> Hi,
>
> Can I suggest a simplification? Instead of the proposed:-
>
> | # If the compile fails and you're using MAKEFLAGS=-j<n>, try adding
> | # -j1 to the make command:
> | #make -j1 V=1
>
> put something like:-
>
> | # To aid debugging of possible compile failures,
> | #make || make -j1 V=1
> | # This can be left in.
Ought to be:
make V=1 || make -j1 V=1
...the point being, we always want to see the compile commands. Not
just if the compile fails, but always. It lets us catch things like,
ignoring our SLKCFLAGS, or overriding them (we put "-O2 -fPIC", but
the Makefile adds a -O3 after our flags, whoops).
I'm not sure how others feel about the "make || make -j1" thing. I
know PV's SlackBuilds do it. I've never tested it so I don't know if
it always works or not...
More information about the SlackBuilds-users
mailing list