[SCM] libav/experimental: Add flags from --extra-cflags after compiler detection
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:48:53 UTC 2013
The following commit has been merged in the experimental branch:
commit 7f32f40c895410963e985c8e92bd8b1250414e62
Author: Måns Rullgård <mans at mansr.com>
Date: Sun Jul 12 13:29:51 2009 +0000
Add flags from --extra-cflags after compiler detection
Originally committed as revision 19411 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/configure b/configure
index fd03403..c347916 100755
--- a/configure
+++ b/configure
@@ -996,6 +996,7 @@ CMDLINE_SET="
cpu
cross_prefix
dep_cc
+ extra_cflags
extra_version
host_cc
host_cflags
@@ -1343,8 +1344,6 @@ show_list() {
for opt do
optval="${opt#*=}"
case "$opt" in
- --extra-cflags=*) add_cflags $optval
- ;;
--extra-ldflags=*) add_ldflags $optval
;;
--extra-libs=*) add_extralibs $optval
@@ -1494,6 +1493,8 @@ test -n "$cc_type" && enable $cc_type || echolog "Unknown C compiler $cc"
: ${ld_default:=$cc}
set_default as dep_cc ld
+add_cflags $extra_cflags
+
if test -n "$sysroot"; then
case "$cc_type" in
gcc)
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list