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)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 4 Dec 2022 15:07:33 +0000 (16:07 +0100)
commit629199f6c8e0dc36484dd17e971f8c1c88b705b1
tree5e4196b9c042fb53e023a0b1a40f189e16e1af60
parent56fd8355b078d8c9e1eb0bc0ea20900e7b46fe93
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 3053045093a5c89dad970b7db3ed9f2a5be993f6)
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
toolchain/Config.in