mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-18 04:40:59 +00:00
d509463816
Main motivation for this commit is the introduction of `-ffile-prefix-map=` which alows reproducible build path. Compile tested on Linux and macOS without errors on the following targets: * ath79 * imx6 * brcm2708 * brcm63xx * ixp4xx * ramips * sunxi * x86 Thanks to Andre for the iremap fixup. Ref: https://reproducible-builds.org/docs/build-path/ Tested-by: Andre Heider <a.heider@gmail.com> Tested-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> Signed-off-by: Paul Spooren <mail@aparcar.org> [refactored into separate commit] Signed-off-by: Petr Štetiar <ynezz@true.cz>
19 lines
329 B
Plaintext
19 lines
329 B
Plaintext
config GCC_VERSION_5
|
|
default y if GCC_USE_VERSION_5
|
|
bool
|
|
|
|
config GCC_VERSION_7
|
|
default y if GCC_USE_VERSION_7
|
|
bool
|
|
|
|
config GCC_VERSION_9
|
|
default y if GCC_USE_VERSION_9
|
|
bool
|
|
|
|
config GCC_VERSION
|
|
string
|
|
default "5.5.0" if GCC_VERSION_5
|
|
default "7.4.0" if GCC_VERSION_7
|
|
default "9.2.0" if GCC_VERSION_9
|
|
default "8.3.0"
|