diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2010-09-27 00:37:32 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2010-09-27 00:37:32 +0200 |
commit | 8e6a9b3bbdcf8d6801b14f8f34c2a5b863bf30c3 (patch) | |
tree | 8f30bfbfc149356fe44c5b606d9c10094df0b55d /mk | |
parent | c8ceac1734a7964df5fd7d36907580e149f48f0a (diff) | |
download | embtoolkit-8e6a9b3bbdcf8d6801b14f8f34c2a5b863bf30c3.tar.gz embtoolkit-8e6a9b3bbdcf8d6801b14f8f34c2a5b863bf30c3.tar.bz2 embtoolkit-8e6a9b3bbdcf8d6801b14f8f34c2a5b863bf30c3.tar.xz |
Toolchain: gcc: disable tls for uClibc toolchain only if NPTL is not selected
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/gcc.mk | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -59,9 +59,10 @@ GCC_LANGUAGES +=,ada endif GCC_LANGUAGES :=$(patsubst "",,$(GCC_LANGUAGES)) -#Disable tls when creating uClibc toolchain +#Disable tls when creating uClibc toolchain with linuxthreads ifeq ($(CONFIG_EMBTK_CLIB_UCLIBC),y) -GCC3_CONFIGURE_EXTRA_OPTIONS += --disable-tls +GCC3_CONFIGURE_EXTRA_OPTIONS += \ + $(if $(CONFIG_KEMBTK_UCLIBC_UCLIBC_HAS_THREADS_NATIVE),,--disable-tls) endif gcc1_install: $(GCC1_BUILD_DIR)/.built |