Skip to content

Commit

Permalink
toolchain: get rid of GCC_VERSION_5 config symbol
Browse files Browse the repository at this point in the history
Replace it with !GCC_VERSION_4_8 to be more future compatible

Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
nbd168 committed Jul 15, 2016
1 parent e031940 commit a4e90e2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions config/Config-build.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
1 change: 0 additions & 1 deletion toolchain/gcc/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ choice
depends on arc

config GCC_USE_VERSION_5
select GCC_VERSION_5
bool "gcc 5.x"
depends on !arc

Expand Down
4 changes: 0 additions & 4 deletions toolchain/gcc/Config.version
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a4e90e2

Please sign in to comment.