summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-05 17:50:42 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-05 17:50:42 (GMT)
commit5f5cf95dd0bca6273d7751ef42093682fba082c8 (patch)
tree074453366dcc8e6924e6150a7f9386a58fcee8b8 /config
parent08c56406615054619b386e064864fdfbc12c339e (diff)
Re-instate the glibc/eglibc config option LIBC_GLIBC_CONFIGPARMS for use by SuperH.
Set appropriate defaults depending on target. /trunk/scripts/build/libc/glibc.sh | 14 7 7 0 +++++++------- /trunk/config/libc/glibc-eglibc.in-common | 15 15 0 0 +++++++++++++++ 2 files changed, 22 insertions(+), 7 deletions(-)
Diffstat (limited to 'config')
-rw-r--r--config/libc/glibc-eglibc.in-common15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/libc/glibc-eglibc.in-common b/config/libc/glibc-eglibc.in-common
index a9fcf4c..86444be 100644
--- a/config/libc/glibc-eglibc.in-common
+++ b/config/libc/glibc-eglibc.in-common
@@ -14,6 +14,21 @@ config LIBC_GLIBC_EXTRA_CONFIG
Eg.: --enable-static-nss
+config LIBC_GLIBC_CONFIGPARMS
+ string
+ prompt "Extra config params (READ HELP)"
+ default "" if ! ARCH_sh
+ default "no-z-defs=yes" if ARCH_sh
+ help
+ Some architectures need to set options in the file configparms.
+ This is the case for sh3/4, which really need to set configparms
+ to "no-z-defs=yes" as of gcc-3.4/glibc-2.3.2.
+
+ Unless you are building a toolchain for sh3/4, you should leave that empty.
+
+ Note: this is awkward, and doesn't work well if you need more than one
+ line in configparms
+
config LIBC_GLIBC_EXTRA_CFLAGS
string
prompt "extra target CFLAGS"