Просмотр исходного кода

toolchain: get rid of GCC_VERSION_5 config symbol

Replace it with !GCC_VERSION_4_8 to be more future compatible

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 9 лет назад
Родитель
Сommit
a4e90e2cac
3 измененных файлов с 2 добавлено и 7 удалено
  1. 2 2
      config/Config-build.in
  2. 0 1
      toolchain/gcc/Config.in
  3. 0 4
      toolchain/gcc/Config.version

+ 2 - 2
config/Config-build.in

@@ -236,7 +236,7 @@ menu "Global build settings"
 		config PKG_CC_STACKPROTECTOR_STRONG
 			bool "Strong"
 			select SSP_SUPPORT if !USE_MUSL
-			depends on GCC_VERSION_5
+			depends on !GCC_VERSION_4_8
 			depends on KERNEL_CC_STACKPROTECTOR_STRONG
 	endchoice
 
@@ -251,7 +251,7 @@ menu "Global build settings"
 		config KERNEL_CC_STACKPROTECTOR_REGULAR
 			bool "Regular"
 		config KERNEL_CC_STACKPROTECTOR_STRONG
-			depends on GCC_VERSION_5
+			depends on !GCC_VERSION_4_8
 			bool "Strong"
 	endchoice
 

+ 0 - 1
toolchain/gcc/Config.in

@@ -13,7 +13,6 @@ choice
 		depends on arc
 
 	config GCC_USE_VERSION_5
-		select GCC_VERSION_5
 		bool "gcc 5.x"
 		depends on !arc
 

+ 0 - 4
toolchain/gcc/Config.version

@@ -10,7 +10,3 @@ config GCC_VERSION
 config GCC_VERSION_4_8
 	bool
 	default y	if GCC_VERSION_4_8_ARC
-
-config GCC_VERSION_5
-	default y if (!TOOLCHAINOPTS && !arc)
-	bool