summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-11-02 14:35:24 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-11-02 14:35:24 +0100
commit974460c887d811c0964ff3fa1a5344a3636a5a87 (patch)
tree9d759e9610b32defaf167565579a9ccf766b927a /core
parent5b0576ff0d03eec71534a6b0c7d39dea1a1a2c25 (diff)
downloadembtoolkit-974460c887d811c0964ff3fa1a5344a3636a5a87.tar.gz
embtoolkit-974460c887d811c0964ff3fa1a5344a3636a5a87.tar.bz2
embtoolkit-974460c887d811c0964ff3fa1a5344a3636a5a87.tar.xz
Toolchain: gcc: do not build libsanitizer when uClibc is used as C library
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'core')
-rw-r--r--core/toolchain/gcc/gcc.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/toolchain/gcc/gcc.mk b/core/toolchain/gcc/gcc.mk
index 045bd30..afcf5ca 100644
--- a/core/toolchain/gcc/gcc.mk
+++ b/core/toolchain/gcc/gcc.mk
@@ -115,6 +115,7 @@ GCC3_KCONFIGS_NAME := GCC
pembtk_gcc3_extraopts-y := --disable-symvers
pembtk_gcc3_extraopts-$(CONFIG_EMBTK_GCC_LANGUAGE_JAVA) += --enable-java-home
pembtk_gcc3_extraopts-$(CONFIG_KEMBTK_UCLIBC_LINUXTHREADS_OLD) += --disable-tls
+pembtk_gcc3_extraopts-$(CONFIG_EMBTK_CLIB_UCLIBC) += --disable-libsanitizer
# FIXME: remove this when c++ exceptions will be fixed (in musl,libgcc?)
ifeq ($(CONFIG_EMBTK_CLIB_MUSL)$(CONFIG_EMBTK_ARCH_MIPS),yy)
pembtk_gcc3_extraopts-y += --disable-tls