Apparently some versions of armcc do not identify as RVCT. This
changes the test to a string used by all versions.
Originally committed as revision 19985 to svn://svn.ffmpeg.org/ffmpeg/trunk
... | ... |
@@ -1536,7 +1536,7 @@ elif $cc -V 2>/dev/null | grep -q Compaq; then |
1536 | 1536 |
DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -M' |
1537 | 1537 |
debuglevel=3 |
1538 | 1538 |
add_ldflags -Wl,-z,now # calls to libots crash without this |
1539 |
-elif $cc --vsn 2>/dev/null | grep -q RVCT; then |
|
1539 |
+elif $cc --vsn 2>/dev/null | grep -q "ARM C/C++ Compiler"; then |
|
1540 | 1540 |
test -d "$sysroot" || die "No valid sysroot specified." |
1541 | 1541 |
cc_type=armcc |
1542 | 1542 |
cc_version="AV_STRINGIFY(__ARMCC_VERSION)" |