summaryrefslogtreecommitdiffstats
path: root/rules/glibc.make
diff options
context:
space:
mode:
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