aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.unix
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-09-27 04:10:21 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2012-09-27 04:10:21 +0200
commit14ac0adcc7c0224a467e38bbd4ebf39d824ada8d (patch)
treee6cf583559611d851119f0ad3e89d8879108e830 /src/makefile.unix
parent5a1a3622153662b948537ad950be07a49864f82e (diff)
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.
Diffstat (limited to 'src/makefile.unix')
-rw-r--r--src/makefile.unix2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile.unix b/src/makefile.unix
index a41b57b4fc..b73ce2833b 100644
--- a/src/makefile.unix
+++ b/src/makefile.unix
@@ -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