From 53d870958e2ad8d5f3478a639d17692991ed13fe Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 12 Nov 2009 13:42:07 +0000 Subject: gcc: add a config option for using the gcc graphite framework (disabled by default) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18403 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/gcc/Config.in | 5 +++++ toolchain/gcc/Makefile | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'toolchain') diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in index 6df266173..b19427be0 100644 --- a/toolchain/gcc/Config.in +++ b/toolchain/gcc/Config.in @@ -50,6 +50,11 @@ endif endchoice +config GCC_USE_GRAPHITE + bool + prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS + depends GCC_VERSION_4_4_1 || GCC_VERSION_4_4_2 + config EXTRA_GCC_CONFIG_OPTIONS string prompt "Additional gcc configure options" if TOOLCHAINOPTS diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 9d865e94d..ea103c453 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -90,7 +90,7 @@ GCC_CONFIGURE:= \ --disable-libmudflap \ --disable-multilib \ --disable-nls \ - $(if $(CONFIG_GCC_VERSION_4_4),--with-host-libstdcxx=-lstdc++) \ + $(if $(CONFIG_GCC_USE_GRAPHITE),--with-host-libstdcxx=-lstdc++) \ $(SOFT_FLOAT_CONFIG_OPTION) \ $(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \ $(if $(CONFIG_mips64)$(CONFIG_mips64el),--with-arch=mips64 --with-abi=64) \ -- cgit v1.2.3