[SCM] libav/experimental: Detect PathScale compiler

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:12:52 UTC 2013


The following commit has been merged in the experimental branch:
commit 349d78fe628bf649b614fc4f19f8cf90575ee5cd
Author: Måns Rullgård <mans at mansr.com>
Date:   Tue Jul 27 18:55:21 2010 +0000

    Detect PathScale compiler
    
    Originally committed as revision 24552 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 7e70dfb..b6f56ca 100755
--- a/configure
+++ b/configure
@@ -1934,6 +1934,14 @@ elif $cc -V 2>&1 | grep -q Sun; then
             esac
         done
     }
+elif $cc -v 2>&1 | grep -q PathScale; then
+    cc_type=pathscale
+    cc_version=__PATHSCALE__
+    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