diff options
author | Rob Landley <rob@landley.net> | 2012-03-03 10:56:11 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-03-03 10:56:11 -0600 |
commit | 344c267e9fe5c6a39efdbf0305bd873d5bef65f3 (patch) | |
tree | 94de0771123873b6f3fa8cb0e468f3b595555b1b /configure | |
parent | ad065e2d1b96dd2f387296086ef808cd28bf3a47 (diff) | |
download | toybox-344c267e9fe5c6a39efdbf0305bd873d5bef65f3.tar.gz |
Fix from Georgi Chorbadzhiyski to make cross compiling more robust.0.2.1
Diffstat (limited to 'configure')
-rw-r--r-- | configure | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -8,7 +8,6 @@ [ -z "$CFLAGS" ] && CFLAGS="-Wall -Wundef -Wno-char-subscripts" CFLAGS="$CFLAGS -funsigned-char" [ -z "$OPTIMIZE" ] && OPTIMIZE="-Os -ffunction-sections -fdata-sections -Wl,--gc-sections" -[ -z "$CC" ] && CC="cc" -CC="${CROSS_COMPILE}${CC}" -[ -z "$STRIP" ] && STRIP="${CROSS_COMPILE}strip" +[ -z "$CC" ] && CC=cc +[ -z "$STRIP" ] && STRIP=strip [ -z "$HOSTCC" ] && HOSTCC=gcc |