summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-07 17:07:06 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-07 17:07:06 -0700
commit8afdb0aa651fcad00d4eaa0d09d5b4d40bbfb864 (patch)
tree3e462c8daaf3e70e6bea94ff7650c93cbeceef60
parentdaf8a66ced4ce2bf48ec005d915899d888458b06 (diff)
downloadinfinitytier-8afdb0aa651fcad00d4eaa0d09d5b4d40bbfb864.tar.gz
infinitytier-8afdb0aa651fcad00d4eaa0d09d5b4d40bbfb864.zip
GitHub issue #346
-rw-r--r--make-linux.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make-linux.mk b/make-linux.mk
index 1fc27bde..016f7b7c 100644
--- a/make-linux.mk
+++ b/make-linux.mk
@@ -88,7 +88,7 @@ ifeq ($(ZT_DEBUG),1)
DEFS+=-DZT_TRACE
override CFLAGS+=-Wall -g -O -pthread $(INCLUDES) $(DEFS)
override CXXFLAGS+=-Wall -g -O -std=c++11 -pthread $(INCLUDES) $(DEFS)
- LDFLAGS=
+ override LDFLAGS+=
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!
@@ -98,7 +98,7 @@ else
override CFLAGS+=-Wall -fPIE -pthread $(INCLUDES) -DNDEBUG $(DEFS)
CXXFLAGS?=-O3 -fstack-protector
override CXXFLAGS+=-Wall -Wno-unused-result -Wreorder -fPIE -std=c++11 -pthread $(INCLUDES) -DNDEBUG $(DEFS)
- LDFLAGS=-pie -Wl,-z,relro,-z,now
+ override LDFLAGS+=-pie -Wl,-z,relro,-z,now
STRIP?=strip
STRIP+=--strip-all
endif