[Cbe-oss-dev] [PATCH 2/9] openwrt: honour gcc extra configuration flags

Jeremy Kerr jk at ozlabs.org
Tue Oct 23 10:54:54 EST 2007


Although the CONFIG_EXTRA_GCC_OPTIONS flag is available, it isn't used
anywhere.

This change adds the extra flag to both gcc configure stages.

Signed-off-by: Jeremy Kerr <jk at ozlabs.org>

---

 toolchain/gcc/Makefile |    2 ++
 1 file changed, 2 insertions(+)

Index: kamikaze/toolchain/gcc/Makefile
===================================================================
--- kamikaze.orig/toolchain/gcc/Makefile
+++ kamikaze/toolchain/gcc/Makefile
@@ -60,6 +60,7 @@ define Stage1/Configure
 		--disable-nls \
 		--disable-libmudflap \
 		--disable-multilib \
+		$(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \
 	);
 endef
 define Stage1/Compile
@@ -91,6 +92,7 @@ define Stage2/Configure
 		--disable-nls \
 		--disable-libmudflap \
 		--disable-multilib \
+		$(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \
 	);
 endef
 



More information about the cbe-oss-dev mailing list