From: Gustavo Zacarias Date: Thu, 15 Jan 2015 00:29:44 +0000 (-0300) Subject: package/gcc: disable libitm for sparc Signed-off-by: Thomas Petazzoni --- diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index cdd71aad8c..2e8b41216e 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -110,6 +110,11 @@ else HOST_GCC_COMMON_CONF_OPTS += --enable-target-optspace endif +# libitm needs sparc V9+ +ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) +HOST_GCC_COMMON_CONF_OPTS += --disable-libitm +endif + # gcc 4.6.x quadmath requires wchar ifneq ($(BR2_TOOLCHAIN_BUILDROOT_WCHAR),y) HOST_GCC_COMMON_CONF_OPTS += --disable-libquadmath