diff sources/sections/ccwrap.sh @ 918:18f052489f5d

Make ccwrap, hello, busybox, and toybox respect SKIP_STRIP and CFLAGS=-g.
author Rob Landley <rob@landley.net>
date Thu, 03 Dec 2009 03:39:53 -0600
parents 023b577fb865
children a69213462fbe
line wrap: on
line diff
--- a/sources/sections/ccwrap.sh	Thu Dec 03 01:38:21 2009 -0600
+++ b/sources/sections/ccwrap.sh	Thu Dec 03 03:39:53 2009 -0600
@@ -49,7 +49,7 @@
 
 # Build wrapper binary
 
-"$TEMP" "$SOURCES/toys/ccwrap.c" -Os -s \
+"$TEMP" "$SOURCES/toys/ccwrap.c" -Os "$CFLAGS" \
   -o "$STAGE_DIR/bin/${PROGRAM_PREFIX}cc" $LIBTYPE $STATIC_FLAGS \
   -DGCC_UNWRAPPED_NAME='"'"${PROGRAM_PREFIX}rawcc"'"' || dienow