Merge pull request #2161 from parona-source/execstack

Append noexecstack to linker flags instead of assembler flags
This commit is contained in:
Adam Ierymenko 2024-09-09 16:22:14 -04:00 committed by GitHub
commit 763caaebab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -364,7 +364,7 @@ override CFLAGS+=-fPIC -fPIE
override CXXFLAGS+=-fPIC -fPIE override CXXFLAGS+=-fPIC -fPIE
# Non-executable stack # Non-executable stack
override ASFLAGS+=--noexecstack override LDFLAGS+=-Wl,-z,noexecstack
.PHONY: all .PHONY: all
all: one all: one