1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-28 23:49:47 +01:00
RIOT/makefiles/libc
Marian Buschsieweke c9f16f1194
build sytem: add --no-warn-rwx-segments to linker
Before we disabled the warning about RWX segments only for picolibc,
but this issue is popping up on more and more toolchains (looking
at MSP430 and RISC-V). Other than on `native`/`native64`, there is no
MMU to enforce whatever permissions the segments contain anyway.
(And writing to ROM with regular store instructions will not be possible
even without the need for an MMU.)

So let's just globally disable this warning, unless building for
`native` and `native64`.
2024-02-12 20:55:58 +01:00
..
newlib.mk build system: Fix linker feature test with newlib 4.3.0 2023-02-02 20:47:37 +01:00
picolibc.mk build sytem: add --no-warn-rwx-segments to linker 2024-02-12 20:55:58 +01:00