Commit d0f0f628 authored by Mans Rullgard's avatar Mans Rullgard

armcc: filter out non-gcc options from ASFLAGS

This allows passing armcc-specific flags with --extra-cflags without
choking the assembler.
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 9d201b26
...@@ -1912,6 +1912,7 @@ elif $cc --vsn 2>/dev/null | grep -q "ARM C/C++ Compiler"; then ...@@ -1912,6 +1912,7 @@ elif $cc --vsn 2>/dev/null | grep -q "ARM C/C++ Compiler"; then
AS_DEPFLAGS='-MMD' AS_DEPFLAGS='-MMD'
speed_cflags='-O3' speed_cflags='-O3'
size_cflags='-Os' size_cflags='-Os'
filter_asflags="filter_out -W${armcc_opt}*"
elif $cc -version 2>/dev/null | grep -q TMS470; then elif $cc -version 2>/dev/null | grep -q TMS470; then
cc_type=tms470 cc_type=tms470
cc_version="AV_STRINGIFY(__TI_COMPILER_VERSION__)" cc_version="AV_STRINGIFY(__TI_COMPILER_VERSION__)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment