1.1 --- a/scripts/build/cc/gcc.sh Tue Jun 28 23:46:04 2011 +0200
1.2 +++ b/scripts/build/cc/gcc.sh Mon Jun 27 13:52:15 2011 +0200
1.3 @@ -258,6 +258,10 @@
1.4 "") extra_config+=("--without-long-double-128");;
1.5 esac
1.6
1.7 + if [ "${CT_CC_GCC_BUILD_ID}" = "y" ]; then
1.8 + extra_config+=( --enable-linker-build-id )
1.9 + fi
1.10 +
1.11 CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"
1.12
1.13 # Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532)
1.14 @@ -526,6 +530,10 @@
1.15 "") extra_config+=("--without-long-double-128");;
1.16 esac
1.17
1.18 + if [ "${CT_CC_GCC_BUILD_ID}" = "y" ]; then
1.19 + extra_config+=( --enable-linker-build-id )
1.20 + fi
1.21 +
1.22 if [ "${CT_CC_GCC_ENABLE_PLUGINS}" = "y" ]; then
1.23 extra_config+=( --enable-plugin )
1.24 fi