OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cef68d
)
build: Use -Werror=format-security
author
Agostino Sarubbo
<ago@gentoo.org>
Sun, 21 Dec 2014 13:38:57 +0000
(14:38 +0100)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Mon, 5 Jan 2015 14:35:39 +0000
(15:35 +0100)
Reduce the chance of introducing a class of bugs quite hard to track.
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
6648035
..
1408689
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-4452,6
+4452,7
@@
elif enabled gcc; then
check_cflags -Werror=return-type
check_cflags -Werror=declaration-after-statement
check_cflags -Werror=vla
+ check_cflags -Werror=format-security
enabled extra_warnings || check_disable_warning -Wno-maybe-uninitialized
elif enabled llvm_gcc; then
check_cflags -mllvm -stack-alignment=16