From ebe4d354283f45ba15f83d080e8a93a46ee29a9e Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 23 Oct 2007 06:23:17 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9406 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/gcc/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'toolchain/gcc/Makefile') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index a326bb716..d9e34af0b 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 -- cgit v1.2.3