Quellcode durchsuchen

toolchain: fix selecting older gcc versions for x86

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau vor 7 Jahren
Ursprung
Commit
1198204a6f
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      toolchain/gcc/Config.version

+ 2 - 1
toolchain/gcc/Config.version

@@ -4,7 +4,8 @@ config GCC_VERSION_7_1_ARC
 
 config GCC_VERSION_7
 	default y if GCC_USE_VERSION_7
-	default y if x86_64 || i386
+	default y if (!TOOLCHAINOPTS && x86_64)
+	default y if (!TOOLCHAINOPTS && i386)
 	bool
 
 config GCC_VERSION