mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
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>
This commit is contained in:
parent
56fd8355b0
commit
629199f6c8
@ -135,6 +135,7 @@ menuconfig EXTERNAL_TOOLCHAIN
|
|||||||
string
|
string
|
||||||
prompt "Toolchain include path" if DEVEL
|
prompt "Toolchain include path" if DEVEL
|
||||||
depends on EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
|
depends on EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
|
||||||
|
default "./usr/include ./include/fortify ./include" if EXTERNAL_TOOLCHAIN_LIBC_USE_MUSL
|
||||||
default "./usr/include ./include"
|
default "./usr/include ./include"
|
||||||
help
|
help
|
||||||
Specify additional directories searched for header files (override
|
Specify additional directories searched for header files (override
|
||||||
|
Loading…
Reference in New Issue
Block a user