[OpenWrt-Devel] [PATCH 2/3] rules.mk: replace iremap when using GCC 8

Yousong Zhou yszhou4tech at gmail.com
Fri Jun 22 05:00:32 EDT 2018


On Fri, 22 Jun 2018 at 08:22, Syrone Wong <wong.syrone at gmail.com> wrote:
>
> HI,
>
> I'm not sure whether it's the correct way to deal with the flag. When
> we add GCC 9 in the future, we have to remember to apply this dirty
> overwrite hack as well.
> Please feel free to share more elegant ways.

How about adding a hidden config symbol in
toolchain/gcc/Config.version that says the how to apply the argument.

                yousong

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel



More information about the openwrt-devel mailing list