config/libc/glibc-eglibc.in-common
changeset 1232 80c5723e06fc
parent 1211 5dc29dbd1523
child 1314 34d1b285c5db
child 1366 5e5d1e6f55d3
     1.1 --- a/config/libc/glibc-eglibc.in-common	Tue Feb 17 17:06:04 2009 +0000
     1.2 +++ b/config/libc/glibc-eglibc.in-common	Thu Mar 05 17:50:42 2009 +0000
     1.3 @@ -14,6 +14,21 @@
     1.4  
     1.5        Eg.: --enable-static-nss
     1.6  
     1.7 +config LIBC_GLIBC_CONFIGPARMS
     1.8 +    string
     1.9 +    prompt "Extra config params (READ HELP)"
    1.10 +    default "" if ! ARCH_sh
    1.11 +    default "no-z-defs=yes" if ARCH_sh
    1.12 +    help
    1.13 +      Some architectures need to set options in the file configparms.
    1.14 +      This is the case for sh3/4, which really need to set configparms
    1.15 +      to "no-z-defs=yes" as of gcc-3.4/glibc-2.3.2.
    1.16 +      
    1.17 +      Unless you are building a toolchain for sh3/4, you should leave that empty.
    1.18 +      
    1.19 +      Note: this is awkward, and doesn't work well if you need more than one
    1.20 +            line in configparms
    1.21 +
    1.22  config LIBC_GLIBC_EXTRA_CFLAGS
    1.23      string
    1.24      prompt "extra target CFLAGS"