[FFmpeg-devel] [PATCH] configure: Fail on missing prototypes in check_oc.
Thilo Borgmann
thilo.borgmann at mail.de
Wed Apr 9 11:21:15 CEST 2014
Hi,
this patch fixes qtkit autodetection on OSX 10.6 for me.
-Thilo
-------------- next part --------------
>From 57e62f577962fd6c7f4863f0d0eb9462c7bfc9c2 Mon Sep 17 00:00:00 2001
From: Thilo Borgmann <thilo.borgmann at mail.de>
Date: Wed, 9 Apr 2014 11:18:14 +0200
Subject: [PATCH] configure: Fail on missing prototypes in check_oc.
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 1a4bf40..507a0e9 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(){
--
1.8.3.2
More information about the ffmpeg-devel
mailing list