summaryrefslogtreecommitdiffstats
path: root/rules/glibc.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2005-01-19 15:42:38 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2005-01-19 15:42:38 +0000
commit4151084cd6f44089ce0aee071f3ce2b6d815ceeb (patch)
tree73a68d1396f1c67719675d8aeda1fb4ce193e5f1 /rules/glibc.make
parenta76ffef7adb5bb35b88c5b9dc9e3be8f10981b07 (diff)
downloadptxdist-4151084cd6f44089ce0aee071f3ce2b6d815ceeb.tar.gz
ptxdist-4151084cd6f44089ce0aee071f3ce2b6d815ceeb.tar.xz
added NPTL and TLS support; patch by Benedikt Spranger
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@2199 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/glibc.make')
-rw-r--r--rules/glibc.make11
1 files changed, 10 insertions, 1 deletions
diff --git a/rules/glibc.make b/rules/glibc.make
index f78890e25..f2c3ab9fc 100644
--- a/rules/glibc.make
+++ b/rules/glibc.make
@@ -172,7 +172,6 @@ glibc_prepare_deps += $(STATEDIR)/xchain-kernel.install
GLIBC_AUTOCONF = $(CROSS_AUTOCONF)
GLIBC_AUTOCONF += --with-headers=$(CROSS_LIB_DIR)/include
GLIBC_AUTOCONF += --enable-clocale=gnu
-GLIBC_AUTOCONF += --without-tls
GLIBC_AUTOCONF += --without-cvs
GLIBC_AUTOCONF += --without-gd
GLIBC_AUTOCONF += --prefix=/usr
@@ -218,6 +217,16 @@ ifdef PTXCONF_GLIBC_PTHREADS
GLIBC_AUTOCONF += --enable-add-ons=linuxthreads
endif
+ifdef PTXCONF_GLIBC_NPTL
+GLIBC_AUTOCONF += --enable-add-ons=nptl
+endif
+
+ifdef PTXCONF_GLIBC_TLS
+GLIBC_AUTOCONF += --with-tls
+else
+GLIBC_AUTOCONF += --without-tls
+endif
+
# from config/arch/*.dat:
# additional architecture dependend configure options