[SCM] libav/experimental: armcc: filter out non-gcc options from ASFLAGS

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:22:42 UTC 2013


The following commit has been merged in the experimental branch:
commit d0f0f6287c7fd29474e58fe1b86db2885f20c457
Author: Mans Rullgard <mans at mansr.com>
Date:   Tue Jan 25 14:45:20 2011 +0000

    armcc: filter out non-gcc options from ASFLAGS
    
    This allows passing armcc-specific flags with --extra-cflags without
    choking the assembler.
    
    Signed-off-by: Mans Rullgard <mans at mansr.com>

diff --git a/configure b/configure
index 51e1172..94993d7 100755
--- a/configure
+++ b/configure
@@ -1912,6 +1912,7 @@ elif $cc --vsn 2>/dev/null | grep -q "ARM C/C++ Compiler"; then
     AS_DEPFLAGS='-MMD'
     speed_cflags='-O3'
     size_cflags='-Os'
+    filter_asflags="filter_out -W${armcc_opt}*"
 elif $cc -version 2>/dev/null | grep -q TMS470; then
     cc_type=tms470
     cc_version="AV_STRINGIFY(__TI_COMPILER_VERSION__)"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list