Explorar el Código

fix _FORTIFY_SOURCE warning

warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
Moritz Warning hace 9 años
padre
commit
76b785c90f
Se han modificado 1 ficheros con 2 adiciones y 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