Commit 9c2479e7 authored by mru's avatar mru

ARM: improve armcc detection

Apparently some versions of armcc do not identify as RVCT.  This
changes the test to a string used by all versions.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19985 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a2dad711
......@@ -1536,7 +1536,7 @@ elif $cc -V 2>/dev/null | grep -q Compaq; then
DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -M'
debuglevel=3
add_ldflags -Wl,-z,now # calls to libots crash without this
elif $cc --vsn 2>/dev/null | grep -q RVCT; then
elif $cc --vsn 2>/dev/null | grep -q "ARM C/C++ Compiler"; then
test -d "$sysroot" || die "No valid sysroot specified."
cc_type=armcc
cc_version="AV_STRINGIFY(__ARMCC_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