diff -r ba1e71fa72a9 -r 9cfca603f892 config/cc/gcc.in.2 --- a/config/cc/gcc.in.2 Thu Jun 02 19:50:12 2011 +0200 +++ b/config/cc/gcc.in.2 Mon Jun 27 13:52:15 2011 +0200 @@ -198,3 +198,16 @@ glibc >= 2.4, 64-bit otherwise) If in doubt, keep the default, ie. 'M'. + +config CC_GCC_BUILD_ID + bool + prompt "Enable build-id" + depends on CC_GCC_HAS_BUILD_ID + help + Tells GCC to pass --build-id option to the linker for all final + links (links performed without the -r or --relocatable option), + if the linker supports it. If you say 'y' here, but your linker + does not support --build-id option, a warning is issued and this + option is ignored. + + The default is off.