[Buildroot] svn commit: trunk/buildroot/toolchain/gcc

aldot at uclibc.org aldot at uclibc.org
Sun Aug 26 21:00:57 UTC 2007


Author: aldot
Date: 2007-08-26 14:00:56 -0700 (Sun, 26 Aug 2007)
New Revision: 19704

Log:
- make sure to honour user flags


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-08-26 20:55:02 UTC (rev 19703)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-08-26 21:00:56 UTC (rev 19704)
@@ -74,8 +74,16 @@
 	BOOT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)"
 
 ifeq ($(strip $(BR2_PACKAGE_GCC_TARGET)),y)
-# pull in config opts from the user
-EXTRA_TARGET_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS)))
+EXTRA_TARGET_GCC_CONFIG_OPTIONS:=
+
+# AVR32 target GCC configuration
+ifeq ($(strip $(BR2_avr32)),y)
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
+endif
+
+
+# and finally pull in config opts from the user
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=$(strip $(subst ",, $(BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS)))
 #"))
 
 ifeq ($(BR2_PREFER_IMA),y)
@@ -85,10 +93,5 @@
 endif
 endif # BR2_PREFER_IMA=y
 
-# AVR32 target GCC configuration
-ifeq ($(strip $(BR2_avr32)),y)
-EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
-endif
-
 TARGETS+=gcc_target
 endif




More information about the buildroot mailing list