diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2014-07-12 22:11:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-12 23:15:23 +0200 |
commit | 97592faa51eacda9a949c4f0ba2a6d7989ef5f3b (patch) | |
tree | 30e5c2d039b678df762d334877fb0b276b214b0c /configure | |
parent | 39a6e02fd4651f8300b2bbadffd5299452e00424 (diff) | |
download | ffmpeg-97592faa51eacda9a949c4f0ba2a6d7989ef5f3b.tar.gz |
Add -Wformat and -Werror=format-security compiler flags
These are part of the hardening flags used by Debian.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5067,9 +5067,11 @@ elif enabled ccc; then elif enabled gcc; then check_optflags -fno-tree-vectorize check_cflags -Werror=implicit-function-declaration + check_cflags -Werror=format-security check_cflags -Werror=missing-prototypes check_cflags -Werror=return-type check_cflags -Werror=vla + check_cflags -Wformat enabled extra_warnings || check_disable_warning -Wno-maybe-uninitialized elif enabled llvm_gcc; then check_cflags -mllvm -stack-alignment=16 |