aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-11-13 19:01:51 +0200
committerLuca Barbato <lu_zero@gentoo.org>2014-08-09 14:13:49 +0200
commitc98d164a6a2c3d93bfb10d44c946bc3ed56f14e7 (patch)
tree5b758531f3a673dcacf2c771dddbe83f284c75fe /configure
parent0ab76ddf313eeab70d06619ae0376fd7dd40761b (diff)
downloadffmpeg-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-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 13066e224a..e12b88d9d8 100755
--- a/configure
+++ b/configure
@@ -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