diff -r b24ead1a5947 -r 9cfca603f892 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Tue Jun 28 23:46:04 2011 +0200 +++ b/scripts/build/cc/gcc.sh Mon Jun 27 13:52:15 2011 +0200 @@ -258,6 +258,10 @@ "") extra_config+=("--without-long-double-128");; esac + if [ "${CT_CC_GCC_BUILD_ID}" = "y" ]; then + extra_config+=( --enable-linker-build-id ) + 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) @@ -526,6 +530,10 @@ "") extra_config+=("--without-long-double-128");; esac + if [ "${CT_CC_GCC_BUILD_ID}" = "y" ]; then + extra_config+=( --enable-linker-build-id ) + fi + if [ "${CT_CC_GCC_ENABLE_PLUGINS}" = "y" ]; then extra_config+=( --enable-plugin ) fi