mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-08-11 06:11:53 +08:00
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> SVN-Revision: 9406
This commit is contained in:
@ -60,6 +60,7 @@ define Stage1/Configure
|
|||||||
--disable-nls \
|
--disable-nls \
|
||||||
--disable-libmudflap \
|
--disable-libmudflap \
|
||||||
--disable-multilib \
|
--disable-multilib \
|
||||||
|
$(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \
|
||||||
);
|
);
|
||||||
endef
|
endef
|
||||||
define Stage1/Compile
|
define Stage1/Compile
|
||||||
@ -91,6 +92,7 @@ define Stage2/Configure
|
|||||||
--disable-nls \
|
--disable-nls \
|
||||||
--disable-libmudflap \
|
--disable-libmudflap \
|
||||||
--disable-multilib \
|
--disable-multilib \
|
||||||
|
$(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \
|
||||||
);
|
);
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user