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>
This commit is contained in:
Gustavo Zacarias 2013-07-19 10:06:31 -03:00 committed by Peter Korsgaard
parent 53f74fb522
commit b9053e0685

View File

@ -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 += \