diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2023-11-13 23:29:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 22:29:12 +0000 |
commit | de3c42125b661f62757f8ee4f6184c089340d3a0 (patch) | |
tree | fbc0efa64628c2bee01e5d8f00661ff9a48fa546 /platforms/chibios | |
parent | 970e0b18a2c6bb96783422533004ffefecddb476 (diff) |
chibios: disable RWX segment warning on newer GNU lds (#22007)
Diffstat (limited to 'platforms/chibios')
-rw-r--r-- | platforms/chibios/platform.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platforms/chibios/platform.mk b/platforms/chibios/platform.mk index 081b001e6d..6c38aa16a7 100644 --- a/platforms/chibios/platform.mk +++ b/platforms/chibios/platform.mk @@ -476,6 +476,9 @@ HEX = $(OBJCOPY) -O $(FORMAT) EEP = BIN = $(OBJCOPY) -O binary +# disable warning about RWX triggered by ChibiOS linker scripts +SHARED_LDFLAGS += $(call cc-option, -Wl$(,)--no-warn-rwx-segments) + ############################################################################## # Make targets # |