diff sources/sections/ccwrap.sh @ 920:a69213462fbe

If "$CCWRAP" is quoted it gets passed in as a blank argument when empty, confusing the compiler.
author Rob Landley <rob@landley.net>
date Sat, 05 Dec 2009 21:09:44 -0600
parents 18f052489f5d
children f2b4d7297c9d
line wrap: on
line diff
--- a/sources/sections/ccwrap.sh	Fri Dec 04 12:02:47 2009 -0600
+++ b/sources/sections/ccwrap.sh	Sat Dec 05 21:09:44 2009 -0600
@@ -49,7 +49,7 @@
 
 # Build wrapper binary
 
-"$TEMP" "$SOURCES/toys/ccwrap.c" -Os "$CFLAGS" \
+"$TEMP" "$SOURCES/toys/ccwrap.c" -Os $CFLAGS \
   -o "$STAGE_DIR/bin/${PROGRAM_PREFIX}cc" $LIBTYPE $STATIC_FLAGS \
   -DGCC_UNWRAPPED_NAME='"'"${PROGRAM_PREFIX}rawcc"'"' || dienow