toolchain: Include ./include/fortify for external musl toolchain
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 11 Sep 2022 22:31:43 +0000 (00:31 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 3 Oct 2022 17:51:50 +0000 (19:51 +0200)
commit938ae926751672cfac8fe18a1ed6f20ec40b10e5
tree1c75b9ea94952cb055232871b4d1c5d5b88434c5
parent8f72f5e4c0c368902087cc26f7d16ff4f012ed1b
toolchain: Include ./include/fortify for external musl toolchain

When building with an external toolcahin with musl also include
./include/fortify by default. This is also done when we build with the
internal toolchain using musl libc.

Without this extra include the fortify source feature is not working
when using an external musl toolchain. All binaries were compiled
without fortify source when an external musl toolchain was used. All
binaries release done by the OpenWrt project use the internal toolcahin
where fortify source is working.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit b21ddbfa18cd1e437e31dc0fa29408721a186c2a)
toolchain/Config.in