[SCM] libav/experimental: configure: detect Open64 compiler

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:15:54 UTC 2013


The following commit has been merged in the experimental branch:
commit 6de163e9bfa115d3e6b9ab3b1c82e36870a782bd
Author: Måns Rullgård <mans at mansr.com>
Date:   Thu Sep 16 15:25:10 2010 +0000

    configure: detect Open64 compiler
    
    Originally committed as revision 25135 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 25c6573..05c7d81 100755
--- a/configure
+++ b/configure
@@ -1975,6 +1975,14 @@ elif $cc -v 2>&1 | grep -q 'PathScale\|Path64'; then
     AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
     speed_cflags='-O2'
     size_cflags='-Os'
+elif $cc -v 2>&1 | grep -q Open64; then
+    cc_type=open64
+    cc_version=__OPEN64__
+    cc_ident=$($cc -v 2>&1 | head -n1 | tr -d :)
+    CC_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
+    AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
+    speed_cflags='-O2'
+    size_cflags='-Os'
 fi
 
 test -n "$cc_type" && enable $cc_type ||

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list