diff options
author | Joseph Henry <joseph.henry@zerotier.com> | 2015-09-10 20:02:13 -0400 |
---|---|---|
committer | Joseph Henry <joseph.henry@zerotier.com> | 2015-09-10 20:02:13 -0400 |
commit | 20beafedc5e62fdd1b6f7d93c735b7a17c4374bb (patch) | |
tree | 1f31dd145fa231567882f6ae1ae4468f62bc41c4 /make-linux.mk | |
parent | 8d82ac5cc8826e2352e710c579a173f4b4309cd1 (diff) | |
download | infinitytier-20beafedc5e62fdd1b6f7d93c735b7a17c4374bb.tar.gz infinitytier-20beafedc5e62fdd1b6f7d93c735b7a17c4374bb.zip |
refactor almost complete
Diffstat (limited to 'make-linux.mk')
-rw-r--r-- | make-linux.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make-linux.mk b/make-linux.mk index 35e7c07e..e30f210c 100644 --- a/make-linux.mk +++ b/make-linux.mk @@ -75,7 +75,7 @@ ifeq ($(ZT_DEBUG),1) DEFS+=-DZT_TRACE CFLAGS+=-Wall -g -pthread $(INCLUDES) $(DEFS) CXXFLAGS+=-Wall -g -pthread $(INCLUDES) $(DEFS) - LDFLAGS= + LDFLAGS=-ldl STRIP=echo # The following line enables optimization for the crypto code, since # C25519 in particular is almost UNUSABLE in -O0 even on a 3ghz box! @@ -85,7 +85,7 @@ else CFLAGS+=-Wall -fPIE -fvisibility=hidden -pthread $(INCLUDES) -DNDEBUG $(DEFS) CXXFLAGS?=-O3 -fstack-protector CXXFLAGS+=-Wall -fPIE -fvisibility=hidden -fno-rtti -pthread $(INCLUDES) -DNDEBUG $(DEFS) - LDFLAGS=-pie -Wl,-z,relro,-z,now + LDFLAGS=-ldl -pie -Wl,-z,relro,-z,now STRIP=strip --strip-all endif |