From 9f86c71cd9a545eee5bfe7fc593fdffef4ddd2e8 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 14 Jan 2015 21:29:44 -0300 Subject: [PATCH] package/gcc: disable libitm for sparc Signed-off-by: Thomas Petazzoni --- package/gcc/gcc.mk | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.30.2