summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-03-03 22:43:56 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-03-03 22:43:56 +0100
commit9938b1de157269752ea6f952a32717a98af25880 (patch)
tree660b91a551aa46ecebd1db7be0f09ad119467844
parentbc269ee2a56c798f53fd1ac36ecbd5b33e32c58d (diff)
downloadembtoolkit-9938b1de157269752ea6f952a32717a98af25880.tar.gz
embtoolkit-9938b1de157269752ea6f952a32717a98af25880.tar.bz2
embtoolkit-9938b1de157269752ea6f952a32717a98af25880.tar.xz
Toolchain: compiler-rt: disable it (for the moment) when musl is used
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r--mk/toolchain.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/toolchain.mk b/mk/toolchain.mk
index 2d2dcd5..688c1a2 100644
--- a/mk/toolchain.mk
+++ b/mk/toolchain.mk
@@ -196,6 +196,8 @@ __gcc3_toolchain-$(CONFIG_EMBTK_GCC_LANGUAGE_OBJECTIVECPP) := gcc3_install
ifeq ($(CONFIG_EMBTK_HAVE_COMPILER-RT)$(CONFIG_KEMBTK_UCLIBC_LINUXTHREADS_OLD),yy)
else ifeq ($(CONFIG_EMBTK_HAVE_COMPILER-RT)$(CONFIG_KEMBTK_UCLIBC_LINUXTHREADS_OLD),yy)
+else ifeq ($(CONFIG_EMBTK_HAVE_COMPILER-RT)$(CONFIG_EMBTK_CLIB_MUSL),yy)
+# FIXME: disable compiler-rt when musl is used as C library for the moment
else
__llvm_compiler-rt-$(CONFIG_EMBTK_HAVE_COMPILER-RT) := compiler-rt_install
endif