Commit f4312352 authored by Martin Storsjö's avatar Martin Storsjö

configure: Add probe identification of MS armasm

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 2597a842
...@@ -2883,6 +2883,11 @@ probe_cc(){ ...@@ -2883,6 +2883,11 @@ probe_cc(){
_cflags_size="-O2 -Munroll=c:1 $opt_common" _cflags_size="-O2 -Munroll=c:1 $opt_common"
_cflags_noopt="-O1" _cflags_noopt="-O1"
_flags_filter=pgi_flags _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 elif $_cc 2>&1 | grep -q Microsoft; then
_type=msvc _type=msvc
_ident=$($cc 2>&1 | head -n1) _ident=$($cc 2>&1 | head -n1)
......
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