Explorar o código

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

fix _FORTIFY_SOURCE warning
Adam Ierymenko %!s(int64=9) %!d(string=hai) anos
pai
achega
b7a5f783ba
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      make-linux.mk

+ 2 - 2
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