summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2016-07-21 15:15:42 -0700
committerGitHub <noreply@github.com>2016-07-21 15:15:42 -0700
commitb7a5f783bac0557e08386cbd4b812f296896de9a (patch)
tree27367bf8b81500f2064a16e178f01a4c70c2ee48
parent3d25a2ea020a9534980444388d9c4742f98d43f3 (diff)
parent76b785c90fe08eb4bfb08de35e4ddb290ece9362 (diff)
downloadinfinitytier-b7a5f783bac0557e08386cbd4b812f296896de9a.tar.gz
infinitytier-b7a5f783bac0557e08386cbd4b812f296896de9a.zip
Merge pull request #364 from mwarning/fortify-source-needs-optimization-flag
fix _FORTIFY_SOURCE warning
-rw-r--r--make-linux.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make-linux.mk b/make-linux.mk
index 13b15476..acc22a63 100644
--- a/make-linux.mk
+++ b/make-linux.mk
@@ -98,8 +98,8 @@ endif
ifeq ($(ZT_DEBUG),1)
DEFS+=-DZT_TRACE
- override CFLAGS+=-Wall -g -pthread $(INCLUDES) $(DEFS)
- override CXXFLAGS+=-Wall -g -pthread $(INCLUDES) $(DEFS)
+ override CFLAGS+=-Wall -g -O -pthread $(INCLUDES) $(DEFS)
+ override CXXFLAGS+=-Wall -g -O -pthread $(INCLUDES) $(DEFS)
LDFLAGS=
STRIP?=echo
# The following line enables optimization for the crypto code, since