diff options
author | Martin Storsjö <martin@martin.st> | 2012-11-13 19:01:51 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-08-09 14:13:49 +0200 |
commit | c98d164a6a2c3d93bfb10d44c946bc3ed56f14e7 (patch) | |
tree | 5b758531f3a673dcacf2c771dddbe83f284c75fe /configure | |
parent | 0ab76ddf313eeab70d06619ae0376fd7dd40761b (diff) | |
download | ffmpeg-c98d164a6a2c3d93bfb10d44c946bc3ed56f14e7.tar.gz |
configure: Check for -Werror parameters on clang
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 9eded0fe412e610ee8944681d5c554b723463e96)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3141,6 +3141,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 |