Current CFLAGS does not add the necessary space before -Wall:
|
x*g++*|x*clang++*) CXXFLAGS="${CXXFLAGS}-Wall -Wextra"; CFLAGS="${CFLAGS}-Wall -Wextra";; |
When building the Arch Linux package (cadical), makepkg will add CFLAGS automatically (see makepkg.conf), which results in a compiler error:
g++: error: unrecognized command-line option ‘-mno-omit-leaf-frame-pointer-Wall’; did you mean ‘-mno-omit-leaf-frame-pointer’?
make[1]: *** [makefile:53: kitten.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/makepkg/cadical/src/cadical-rel-2.2.0/build'
make: *** [makefile:3: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'cadical-2.2.0-1':
Current
CFLAGSdoes not add the necessary space before-Wall:cadical/configure
Line 288 in 14593f8
When building the Arch Linux package (cadical),
makepkgwill addCFLAGSautomatically (seemakepkg.conf), which results in a compiler error: