mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
7fad676115
This prevents overriding it to use GCC9. Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [changed logic to not fall back on 7.4]
25 lines
471 B
Plaintext
25 lines
471 B
Plaintext
config GCC_VERSION_5
|
|
default y if GCC_USE_VERSION_5
|
|
bool
|
|
|
|
config GCC_VERSION_8
|
|
default y if GCC_USE_VERSION_8
|
|
default y if arc && !GCC_USE_VERSION_9
|
|
bool
|
|
|
|
config GCC_VERSION_9
|
|
default y if GCC_USE_VERSION_9
|
|
bool
|
|
|
|
config GCC_USE_EMBEDDED_PATH_REMAP
|
|
default y if ( GCC_VERSION_8 || GCC_VERSION_9 )
|
|
default n
|
|
bool
|
|
|
|
config GCC_VERSION
|
|
string
|
|
default "5.5.0" if GCC_VERSION_5
|
|
default "8.3.0" if GCC_VERSION_8
|
|
default "9.1.0" if GCC_VERSION_9
|
|
default "7.4.0"
|