diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-10-23 06:23:17 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-10-23 06:23:17 +0000 |
commit | 4e577f8c711f591adc604d57af6a61ddb71a4ed4 (patch) | |
tree | a3ff4b890c1dfe49e302f0d0b584c42140587fcb /toolchain/gcc | |
parent | dee598b99b23581a5eb29d2c79f7721e7d1dca8c (diff) | |
download | upstream-4e577f8c711f591adc604d57af6a61ddb71a4ed4.tar.gz upstream-4e577f8c711f591adc604d57af6a61ddb71a4ed4.tar.bz2 upstream-4e577f8c711f591adc604d57af6a61ddb71a4ed4.zip |
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 <jk@ozlabs.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9406 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc')
-rw-r--r-- | toolchain/gcc/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
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 |