Browse Source

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 <[email protected]>

SVN-Revision: 37932
Felix Fietkau 12 năm trước cách đây
mục cha
commit
35d2b601aa
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      Config.in

+ 2 - 0
Config.in

@@ -879,6 +879,8 @@ menuconfig TARGET_OPTIONS
 	config USE_MIPS16
 	config USE_MIPS16
 		bool "Build packages with MIPS16 instructions" if TARGET_OPTIONS
 		bool "Build packages with MIPS16 instructions" if TARGET_OPTIONS
 		depends on HAS_MIPS16
 		depends on HAS_MIPS16
+		depends on !GCC_VERSION_4_6
+		default y
 		help
 		help
 		  If your target CPU does support the MIPS16 instruction set
 		  If your target CPU does support the MIPS16 instruction set
 		  and you want to use it for packages, enable this option.
 		  and you want to use it for packages, enable this option.