toolchain/gcc: add config symbol to determine how to apply path remapping
authorSyrone Wong <wong.syrone@gmail.com>
Thu, 26 Jul 2018 14:38:57 +0000 (22:38 +0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 20 Aug 2018 07:24:29 +0000 (09:24 +0200)
commit713cee6463a8b654d2c72e469112130373c1336b
tree3ccf98b6c2c0e1e7ebcc3e943cb4b9f1aaf6bb23
parentfc9cbf3bc0673c97e31693ea45fad1798346c2cd
toolchain/gcc: add config symbol to determine how to apply path remapping

Added boolean symbol for GCC 8 and higher, when we add newer GCC, we don't have
to modify rules.mk to keep things consistant.

Fixes: da9d760 ("rules.mk: replace iremap when using GCC 8")
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
rules.mk
toolchain/gcc/Config.version