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)
This commit is contained in:
parent
9c5c348eef
commit
744c166422
1
configure
vendored
1
configure
vendored
@ -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__)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user