From 32ac555784853fe7fb8f2ec113061580c6415768 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sat, 21 Jun 2008 19:47:17 +0000 Subject: [PATCH] toolchain/gcc: use --disable-decimal-float for 4.3.x --- toolchain/gcc/gcc-uclibc-4.x.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index 6092e1aced..1925de93b4 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/toolchain/gcc/gcc-uclibc-4.x.mk @@ -141,6 +141,10 @@ ifeq ($(BR2_KERNEL_HURD),y) EXTRA_GCC1_CONFIG_OPTIONS+=--without-headers endif +ifeq ($(BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE),y) +GCC_DECIMAL_FLOAT:=--disable-decimal-float +endif + HOST_SOURCE+=gcc-source $(DL_DIR)/$(GCC_SOURCE): @@ -211,6 +215,7 @@ $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched $(DISABLE_NLS) \ $(THREADS) \ $(MULTILIB) \ + $(GCC_DECIMAL_FLOAT) \ $(SOFT_FLOAT_CONFIG_OPTION) \ $(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \ $(EXTRA_GCC_CONFIG_OPTIONS) \ @@ -284,6 +289,7 @@ $(GCC_BUILD_DIR2)/.configured: $(GCC_SRC_DIR)/.patched $(GCC_STAGING_PREREQ) $(DISABLE_NLS) \ $(THREADS) \ $(MULTILIB) \ + $(GCC_DECIMAL_FLOAT) \ $(SOFT_FLOAT_CONFIG_OPTION) \ $(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \ $(GCC_USE_SJLJ_EXCEPTIONS) \ @@ -429,6 +435,7 @@ $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.prepared $(DISABLE_NLS) \ $(THREADS) \ $(MULTILIB) \ + $(GCC_DECIMAL_FLOAT) \ $(SOFT_FLOAT_CONFIG_OPTION) \ $(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \ $(GCC_USE_SJLJ_EXCEPTIONS) \ -- 2.30.2