aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-01-25 14:45:20 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-01-26 03:43:31 +0100
commit744c1664223c7565ebf069803833dfa37709d3cf (patch)
tree01f2ac00f846d54e08bddc453fa5aaf7539b547e
parent9c5c348eefcef41b1d0e459348dadeeb731e8b59 (diff)
downloadffmpeg-744c1664223c7565ebf069803833dfa37709d3cf.tar.gz
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@mansr.com> (cherry picked from commit d0f0f6287c7fd29474e58fe1b86db2885f20c457)
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 8f34e97314..a4d1711a00 100755
--- a/configure
+++ b/configure
@@ -1913,6 +1913,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__)"