summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-08-09 22:25:44 +0300
committerMartin Storsjö <martin@martin.st>2014-08-10 16:25:45 +0300
commitf4312352fc52cc47c1ba398a33f629d32a737e91 (patch)
tree216ca557602bcfdcc531279d7f727d6b3dd463c9 /configure
parent2597a842a0a2c7e8aa76f32733d27bf64817ae86 (diff)
configure: Add probe identification of MS armasm
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index c128b29bd3..b9626e7ef3 100755
--- a/configure
+++ b/configure
@@ -2883,6 +2883,11 @@ probe_cc(){
_cflags_size="-O2 -Munroll=c:1 $opt_common"
_cflags_noopt="-O1"
_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
_type=msvc
_ident=$($cc 2>&1 | head -n1)