summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-21 17:51:16 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-21 17:51:16 +0100
commitdb55365d0f938ee93ed660a14c07f10f2a66dd10 (patch)
treec8bfaf894c644105448c8ebb064a4e239aa2d770 /configure
parent9dca02ee541120de2a96c387faed9a4e033a60fd (diff)
configure: Try to fix detection of ARM Compiler 5.04
Fixes Ticket 3364 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 41e64512c0..5ce296199f 100755
--- a/configure
+++ b/configure
@@ -3187,7 +3187,7 @@ probe_cc(){
_cflags_speed='-fast'
_cflags_size='-O1'
_flags_filter=ccc_flags
- elif $_cc --vsn 2>/dev/null | grep -q "ARM C/C++ Compiler"; then
+ elif $_cc --vsn 2>/dev/null | grep -Eq "ARM C/C[+][+] Compiler|Component: ARM Compiler "; then
test -d "$sysroot" || die "No valid sysroot specified."
_type=armcc
_ident=$($_cc --vsn | head -n1)