[SCM] libav/experimental: configure: Add probe identification of MS armasm

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sat Aug 30 15:49:42 UTC 2014


The following commit has been merged in the experimental branch:
commit f4312352fc52cc47c1ba398a33f629d32a737e91
Author: Martin Storsjö <martin at martin.st>
Date:   Sat Aug 9 22:25:44 2014 +0300

    configure: Add probe identification of MS armasm
    
    Signed-off-by: Martin Storsjö <martin at martin.st>

diff --git a/configure b/configure
index c128b29..b9626e7 100755
--- a/configure
+++ b/configure
@@ -2883,6 +2883,11 @@ probe_cc(){
         _cflags_size="-O2 -Munroll=c:1 $opt_common"
         _cflags_noopt="-O1"
         _flags_filter=pgi_flags
+    elif $_cc 2>&1 | grep -q 'Microsoft.*ARM.*Assembler'; then
+        _type=armasm
+        _ident=$($_cc | head -n1)
+        # 4509: "This form of conditional instruction is deprecated"
+        _flags="-nologo -ignore 4509"
     elif $_cc 2>&1 | grep -q Microsoft; then
         _type=msvc
         _ident=$($cc 2>&1 | head -n1)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list