]> git.sesse.net Git - ffmpeg/blobdiff - configure
configure: Fail on missing prototypes in check_oc.
[ffmpeg] / configure
index 1a4bf405d1e797187de7008441ca6f9ae4d69805..507a0e91630544616393e4b07be83d6a34bc3bfc 100755 (executable)
--- 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(){