mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
Enable PIE to allow ASLR (security)
This commit is contained in:
parent
74c2e644a9
commit
dbd7a06ea9
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ endif
|
|||
#DEFS+=-DZT_TRACE -DZT_LOG_STDOUT
|
||||
|
||||
# Uncomment for a release optimized universal binary build
|
||||
CFLAGS=-arch i386 -arch x86_64 -Wall -O3 -flto -fvectorize -fstack-protector -pthread -mmacosx-version-min=10.6 -DNDEBUG -Wno-unused-private-field $(INCLUDES) $(DEFS)
|
||||
CFLAGS=-arch i386 -arch x86_64 -Wall -O3 -flto -fPIE -fvectorize -fstack-protector -pthread -mmacosx-version-min=10.6 -DNDEBUG -Wno-unused-private-field $(INCLUDES) $(DEFS)
|
||||
STRIP=strip
|
||||
|
||||
# Uncomment for a debug build
|
||||
|
|
Loading…
Add table
Reference in a new issue