From 76b785c90fe08eb4bfb08de35e4ddb290ece9362 Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Thu, 21 Jul 2016 23:08:55 +0200 Subject: [PATCH] fix _FORTIFY_SOURCE warning warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] --- make-linux.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make-linux.mk b/make-linux.mk index 13b154763..acc22a635 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