mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-14 22:22:59 +02:00
build: Use -Werror=format-security
Reduce the chance of introducing a class of bugs quite hard to track.
This commit is contained in:
parent
2cef68da69
commit
fe08299868
1
configure
vendored
1
configure
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user