aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-09-10 14:40:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-09-10 14:40:06 +0000
commit35d2b601aa7737c5eebe8557bd4cb056e52b2f5d (patch)
tree67e91dcbda9bca2e07b51a20d769077ef4018ec2
parent11926c2fd831fd9847b163530ddcec13d53fbdef (diff)
downloadupstream-35d2b601aa7737c5eebe8557bd4cb056e52b2f5d.tar.gz
upstream-35d2b601aa7737c5eebe8557bd4cb056e52b2f5d.tar.bz2
upstream-35d2b601aa7737c5eebe8557bd4cb056e52b2f5d.zip
build: enable MIPS16 again, but make it depend on !gcc-4.6
gcc 4.6 miscompiles hostapd with mips16, on gcc 4.8 it works Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37932
-rw-r--r--Config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 40a74e77ab..2074245758 100644
--- a/Config.in
+++ b/Config.in
@@ -879,6 +879,8 @@ menuconfig TARGET_OPTIONS
config USE_MIPS16
bool "Build packages with MIPS16 instructions" if TARGET_OPTIONS
depends on HAS_MIPS16
+ depends on !GCC_VERSION_4_6
+ default y
help
If your target CPU does support the MIPS16 instruction set
and you want to use it for packages, enable this option.