projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
157a0cf
)
build: -Wformat is required for -Wformat-security
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Mon, 1 Feb 2010 14:53:13 +0000
(14:53 +0000)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Mon, 1 Feb 2010 14:53:13 +0000
(14:53 +0000)
GCC will ignore -Wformat-security without -Wformat on the same compiler
flags.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
7ad5be0
..
12126e7
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-793,8
+793,8
@@
AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
[
AS_COMPILER_FLAGS([MAINTAINER_CFLAGS],
["-Wall -Wshadow -Wcast-align -Wno-uninitialized
- -Wno-strict-aliasing -Wempty-body -Wformat
-security
- -Winit-self"])
+ -Wno-strict-aliasing -Wempty-body -Wformat
+ -W
format-security -W
init-self"])
]
)