diff options
-rwxr-xr-x | build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build b/build index abd8cded..309b53d5 100755 --- a/build +++ b/build @@ -19,9 +19,9 @@ UNTIL_LAYER=${2:-zzz} # otherwise you'll see spurious messages about files being updated # risk: a file may unnecessarily update without changes, causing unnecessary work downstream -test $CXX || export CXX=c++ -test $CC || export CC=cc -test $CFLAGS || export CFLAGS="-g -O3" +test "$CXX" || export CXX=c++ +test "$CC" || export CC=cc +test "$CFLAGS" || export CFLAGS="-g -O3" export CFLAGS="$CFLAGS -Wall -Wextra -ftrapv -fno-strict-aliasing" # return 1 if $1 is older than _any_ of the remaining args |