diff options
-rw-r--r-- | Makefile.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.mk b/Makefile.mk index 0123bd5544..e9ad2ccbb2 100644 --- a/Makefile.mk +++ b/Makefile.mk @@ -603,6 +603,7 @@ LDFLAGS_common := --gc-sections LDFLAGS_common += -nostdlib LDFLAGS_common += --nmagic LDFLAGS_common += -static +LDFLAGS_common += -z noexecstack # Disable warning on segments with RWX. # All loadable sections are placed in the same segment for simplicity. LDFLAGS_common += --no-warn-rwx-segments |