Merge pull request #364 from mwarning/fortify-source-needs-optimization-flag

fix _FORTIFY_SOURCE warning
This commit is contained in:
Adam Ierymenko
2016-07-21 15:15:42 -07:00
committed by GitHub

View File

@@ -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