config/cc/gcc.in.2
changeset 2521 9cfca603f892
parent 2500 ba1e71fa72a9
child 2522 ff2481a6e60f
     1.1 --- a/config/cc/gcc.in.2	Thu Jun 02 19:50:12 2011 +0200
     1.2 +++ b/config/cc/gcc.in.2	Mon Jun 27 13:52:15 2011 +0200
     1.3 @@ -198,3 +198,16 @@
     1.4                   glibc >= 2.4, 64-bit otherwise)
     1.5        
     1.6        If in doubt, keep the default, ie. 'M'.
     1.7 +
     1.8 +config CC_GCC_BUILD_ID
     1.9 +    bool
    1.10 +    prompt "Enable build-id"
    1.11 +    depends on CC_GCC_HAS_BUILD_ID
    1.12 +    help
    1.13 +      Tells GCC to pass --build-id option to the linker for all final
    1.14 +      links (links performed without the -r or --relocatable option),
    1.15 +      if the linker supports it. If you say 'y' here, but your linker
    1.16 +      does not support --build-id option, a warning is issued and this
    1.17 +      option is ignored.
    1.18 +      
    1.19 +      The default is off.