This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
# HG changeset patch # User Titus von Boxberg <titus@v9g.de> # Date 1274516701 -7200 # Node ID 206a05fc78eb37a63226269a5252d05e0f970f76 # Parent 3ac0d00d448cf6a7bb74bd6e0a6ae3e9acdacf42 scripts/build/cc/gcc.sh: optionally add --enable-target-optspace If CT_TARGET_ENABLE_OPTSPACE is set, add --enable-target-optspace to gcc's configure flags, thus gcc's libs are compiled with -Os. diff -r 3ac0d00d448c -r 206a05fc78eb scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Sat May 22 10:14:26 2010 +0200 +++ b/scripts/build/cc/gcc.sh Sat May 22 10:25:01 2010 +0200 @@ -171,6 +171,10 @@ extra_config+=("--with-libelf=${CT_COMPLIBS_DIR}") fi + if [ "${CT_TARGET_ENABLE_OPTSPACE}" = "y" ]; then + extra_config+=("--enable-target-optspace") + fi + CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'" # Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532) @@ -190,7 +194,6 @@ --disable-nls \ --enable-symvers=gnu \ --enable-languages="${lang_opt}" \ - --enable-target-optspace \ ${CT_CC_CORE_EXTRA_CONFIG} if [ "${build_libgcc}" = "yes" ]; then @@ -355,6 +358,10 @@ extra_config+=("--enable-threads=posix") fi + if [ "${CT_TARGET_ENABLE_OPTSPACE}" = "y" ]; then + extra_config+=("--enable-target-optspace") + fi + CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'" # --enable-symvers=gnu really only needed for sh4 to work around a @@ -380,7 +387,6 @@ --enable-symvers=gnu \ --enable-c99 \ --enable-long-long \ - --enable-target-optspace \ ${CT_CC_EXTRA_CONFIG} if [ "${CT_CANADIAN}" = "y" ]; then -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |