Remove -Wformat* warnings from makefiles

commit 5a1a3622 effectively enabled these warnings, but they need
to be fixed before being enabled in the general build scripts.
This commit is contained in:
Wladimir J. van der Laan
2012-09-27 04:10:21 +02:00
parent 5a1a362215
commit 14ac0adcc7
5 changed files with 5 additions and 5 deletions

View File

@@ -93,7 +93,7 @@ DEBUGFLAGS=-g
# CXXFLAGS can be specified on the make command line, so we use xCXXFLAGS that only
# adds some defaults in front. Unfortunately, CXXFLAGS=... $(CXXFLAGS) does not work.
xCXXFLAGS=-O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter \
xCXXFLAGS=-O2 -pthread -Wall -Wextra -Wno-format -Wno-format-security -Wno-unused-parameter \
$(DEBUGFLAGS) $(DEFS) $(HARDENING) $(CXXFLAGS)
# LDFLAGS can be specified on the make command line, so we use xLDFLAGS that only