mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-18 20:47:53 +00:00
Merge pull request #2161 from parona-source/execstack
Append noexecstack to linker flags instead of assembler flags
This commit is contained in:
commit
763caaebab
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user