diff native-compiler.sh @ 1083:cb4dbdb7f2cd

Make BUILD_STATIC take comma separated list of packages, or "all" or "none". Default behavior should remain the same.
author Rob Landley <rob@landley.net>
date Sun, 16 May 2010 02:26:03 -0500
parents 27c38c82401d
children affef1edbdba
line wrap: on
line diff
--- a/native-compiler.sh	Sat May 15 12:41:14 2010 -0500
+++ b/native-compiler.sh	Sun May 16 02:26:03 2010 -0500
@@ -6,8 +6,8 @@
 # This can be used to build a native compiler for an aribitrary target, or to
 # build a more portable and capable cross compiler for an arbitrary host.
 
-# The new compiler is built --with-shared and has uClibc++ installed, and is
-# statically linked against uClibc (for portability) unless BUILD_STATIC=none.
+# The new compiler is built --with-shared, with thread support, has uClibc++
+# installed, and is linked against uClibc (see BUILD_STATIC in config).
 
 source sources/include.sh && read_arch_dir "$1" || exit 1
 check_for_base_arch || exit 0
@@ -21,8 +21,6 @@
 
 mkdir -p "$STAGE_DIR/bin" || dienow
 
-STATIC_FLAGS="$STATIC_DEFAULT_FLAGS"
-
 # Build C Library
 
 build_section linux-headers