summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-07-19 13:06:31 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-07-19 21:46:06 (GMT)
commitb9053e0685fcb86269e4daa821868709fa34cf4e (patch)
treeee1dbf3f821d89cd39ffa582e1db3fe05e907777
parent53f74fb5229e52f0939c9624fd17f5ef5f7a1e75 (diff)
downloadbuildroot-b9053e0685fcb86269e4daa821868709fa34cf4e.tar.gz
buildroot-b9053e0685fcb86269e4daa821868709fa34cf4e.tar.bz2
gcc/arm: disable mudflap for thumb(1)
libmudflap doesn't build for a thumb(1) toolchain so disable it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/gcc/gcc.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index c0d821b..85cd7d4 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -194,6 +194,11 @@ ifeq ($(BR2_avr32),y)
HOST_GCC_COMMON_CONF_OPT += --disable-libmudflap
endif
+# ARM Thumb and mudflap aren't friends
+ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
+HOST_GCC_COMMON_CONF_OPT += --disable-libmudflap
+endif
+
# Disable mudflap and enable proper double/long double for SPE ABI
ifeq ($(BR2_powerpc_SPE),y)
HOST_GCC_COMMON_CONF_OPT += \