From: Felix Fietkau Date: Tue, 23 Oct 2007 06:23:17 +0000 (+0000) Subject: openwrt: honour gcc extra configuration flags X-Git-Tag: reboot~27759 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=5feb978446bd193b0b4504ab335402041e71678b;p=openwrt%2F.git 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 SVN-Revision: 9406 --- diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index a326bb716f..d9e34af0bd 100644 --- a/toolchain/gcc/Makefile +++ b/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