From c740e083bc46f5380367627852a262f049a5e717 Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Wed, 9 Apr 2014 11:18:14 +0200 Subject: [PATCH] configure: Fail on missing prototypes in check_oc. Signed-off-by: Michael Niedermayer --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 1a4bf405d1e..507a0e91630 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(){ -- 2.39.2