Skip to content

Commit

Permalink
Merge pull request #2161 from parona-source/execstack
Browse files Browse the repository at this point in the history
Append noexecstack to linker flags instead of assembler flags
  • Loading branch information
adamierymenko authored Sep 9, 2024
2 parents 46c0d1a + e171384 commit 763caae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-linux.mk
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ override CFLAGS+=-fPIC -fPIE
override CXXFLAGS+=-fPIC -fPIE

# Non-executable stack
override ASFLAGS+=--noexecstack
override LDFLAGS+=-Wl,-z,noexecstack

.PHONY: all
all: one
Expand Down

0 comments on commit 763caae

Please sign in to comment.