aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThilo Borgmann <thilo.borgmann@mail.de>2014-04-09 11:18:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-09 13:30:40 +0200
commitc740e083bc46f5380367627852a262f049a5e717 (patch)
tree42df83ce7e23670f17f1ba63a247f411a5524b47
parent44841528c197435be44f0c3598098e6c52f0df26 (diff)
downloadffmpeg-c740e083bc46f5380367627852a262f049a5e717.tar.gz
configure: Fail on missing prototypes in check_oc.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 1a4bf405d1..507a0e9163 100755
--- a/configure
+++ b/configure
@@ -807,7 +807,7 @@ check_oc(){
log check_oc "$@"
cat > $TMPM
log_file $TMPM
- check_cmd $cc $CPPFLAGS $CFLAGS "$@" $CC_C $(cc_o $TMPO) $TMPM
+ check_cmd $cc -Werror=missing-prototypes $CPPFLAGS $CFLAGS "$@" $CC_C $(cc_o $TMPO) $TMPM
}
check_cpp(){