Mercurial > hg > aboriginal
view sources/sections/ccwrap.sh @ 1265:918501f802d1
Update squashfs and kernel to current versions.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 21 Oct 2010 19:09:51 -0500 |
parents | a36e985f6198 |
children | c5b158bdaa3f |
line wrap: on
line source
# build and install gcc wrapper # Which compiler do we build the wrapper with, and should it be static? [ "$BUILD_STATIC" == none ] && STATIC_FLAGS= || STATIC_FLAGS=--static [ -z "$HOST_ARCH" ] && TEMP="$CC" || TEMP="${HOST_ARCH}-cc" # Build wrapper binary "$TEMP" "$SOURCES/toys/ccwrap.c" -Os $CFLAGS \ -o "$STAGE_DIR/bin/${TOOLCHAIN_PREFIX}cc" $STATIC_FLAGS || dienow