[SCM] libav/experimental: Add --sysroot flag to CPPFLAGS, not CFLAGS

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:48:52 UTC 2013


The following commit has been merged in the experimental branch:
commit 467256f2485836b96288eb9d4c52e25d722525dd
Author: Måns Rullgård <mans at mansr.com>
Date:   Sun Jul 12 13:29:35 2009 +0000

    Add --sysroot flag to CPPFLAGS, not CFLAGS
    
    Originally committed as revision 19405 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 3be7aa0..34aba91 100755
--- a/configure
+++ b/configure
@@ -1490,7 +1490,7 @@ set_default as
 if test -n "$sysroot"; then
     case "$cc_type" in
         gcc)
-            add_cflags  --sysroot="$sysroot"
+            add_cppflags --sysroot="$sysroot"
             add_ldflags --sysroot="$sysroot"
         ;;
     esac

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list