Browse Source

openwrt: honour gcc extra configuration flags

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 <[email protected]>

SVN-Revision: 9406
Felix Fietkau 18 years ago
parent
commit
5feb978446
1 changed files with 2 additions and 0 deletions
  1. 2 0
      toolchain/gcc/Makefile

+ 2 - 0
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