forked from FFmpeg/FFmpeg
configure: Check for -Werror parameters on clang
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
116ae7285e
commit
9eded0fe41
1 changed files with 2 additions and 0 deletions
2
configure
vendored
2
configure
vendored
|
@ -3549,6 +3549,8 @@ elif enabled llvm_gcc; then
|
|||
elif enabled clang; then
|
||||
check_cflags -mllvm -stack-alignment=16
|
||||
check_cflags -Qunused-arguments
|
||||
check_cflags -Werror=implicit-function-declaration
|
||||
check_cflags -Werror=missing-prototypes
|
||||
elif enabled armcc; then
|
||||
# 2523: use of inline assembler is deprecated
|
||||
add_cflags -W${armcc_opt},--diag_suppress=2523
|
||||
|
|
Loading…
Add table
Reference in a new issue