From: Gustavo Zacarias Date: Fri, 19 Jul 2013 13:06:31 +0000 (-0300) Subject: gcc/arm: disable mudflap for thumb(1) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9053e0685fcb86269e4daa821868709fa34cf4e;p=buildroot.git gcc/arm: disable mudflap for thumb(1) libmudflap doesn't build for a thumb(1) toolchain so disable it. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index c0d821be59..85cd7d429a 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 += \