summaryrefslogtreecommitdiffstats
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2007-04-27 19:26:57 +0000
committerAlasdair Kergon <agk@redhat.com>2007-04-27 19:26:57 +0000
commit7c03887b7ac0b06627a06bc423ab89abe238aee2 (patch)
tree73acf766bbe27523dd312be4161a355dc616ae61 /make.tmpl.in
parent42c798229fcff4014651901772ad99c42c5c0c52 (diff)
downloadlvm2-7c03887b7ac0b06627a06bc423ab89abe238aee2.tar.gz
lvm2-7c03887b7ac0b06627a06bc423ab89abe238aee2.tar.xz
lvm2-7c03887b7ac0b06627a06bc423ab89abe238aee2.zip
Add -Wformat-security and change one fprintf() to fputs().
Diffstat (limited to 'make.tmpl.in')
-rw-r--r--make.tmpl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index 162f77f5..a607f514 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -56,7 +56,7 @@ endif
.SUFFIXES: .c .d .o .so .a .po .pot .mo .dylib
-CFLAGS += -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn
+CFLAGS += -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security
#CFLAGS += -W -Wconversion -Wpointer-arith -Wredundant-decls -Wbad-function-cast -Wcast-qual
#CFLAGS += -pedantic -std=gnu99