diff options
author | Rob Landley <rob@landley.net> | 2015-10-05 20:47:49 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-10-05 20:47:49 -0500 |
commit | 1223578c94c1d409af481dd7af2fb84261c20c62 (patch) | |
tree | add880cc5613c02a5793f38b9ef54dc84fa9ab31 /configure | |
parent | 5b39d5c58cc3c43580a9114355b0763c171926b6 (diff) | |
download | toybox-1223578c94c1d409af481dd7af2fb84261c20c62.tar.gz |
Fix allnoconfig. (Exporting HOSTCC before HOSTCC?=cc caused a problem.)
Diffstat (limited to 'configure')
-rw-r--r-- | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -15,8 +15,11 @@ CFLAGS="$CFLAGS -funsigned-char" # We accept LDFLAGS, but by default don't have anything in it [ -z "$LDOPTIMIZE" ] && LDOPTIMIZE="-Wl,--gc-sections" +# The makefile provides defaults for these, so this only gets used if +# you call scripts/make.sh and friends directly. + [ -z "$CC" ] && CC=cc # If HOSTCC needs CFLAGS or LDFLAGS, just add them to the variable # ala HOSTCC="blah-cc --static" -[ -z "$HOSTCC" ] && HOSTCC=gcc +[ -z "$HOSTCC" ] && HOSTCC=cc |