From dc0d53333d2694493f5f781b55de4a47a56386d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Luc=20B=C3=A9chennec?= Date: Mon, 26 Feb 2024 12:31:26 +0100 Subject: [PATCH] fix LOAD segment with RWX permissions GUN LD warning --- goil/templates/config/cortex-m/armv7em/buildOptions.oil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goil/templates/config/cortex-m/armv7em/buildOptions.oil b/goil/templates/config/cortex-m/armv7em/buildOptions.oil index bead04461..c5c79ceb1 100755 --- a/goil/templates/config/cortex-m/armv7em/buildOptions.oil +++ b/goil/templates/config/cortex-m/armv7em/buildOptions.oil @@ -39,7 +39,7 @@ CPU buildOptions { ASFLAGS = "-Wall"; // All warnings on ASFLAGS = "--fatal-warnings"; // A warning is an error - // LDFLAGS = "--no-warn-rwx-segment"; // fix gnu-ld 2.39 snafu + LDFLAGS = "--no-warn-rwx-segment"; // fix gnu-ld 2.39 snafu LDFLAGS = "--fatal-warnings"; // A warning is an error LDFLAGS = "--warn-common"; // Warn when a common symbol is combined with another common symbol LDFLAGS = "--no-undefined"; // Report unresolved symbol references