summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-09-15 15:36:22 +0100
committerMans Rullgard <mans@mansr.com>2012-09-20 14:56:56 +0100
commit0122118ec32087cf3522bf14a1c4e34cb7d95a67 (patch)
tree458bcf79fca5764831203f4da5aad6fd54e8c6cb /configure
parent6746cd7f61964f94f949606f839598861472dcff (diff)
configure: update tms470 detection for latest version
v5.0 of the TI ARM compiler changes the version string. This updates the detection to check for both the old and the new strings. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 49e9ecf040..4461bdeca2 100755
--- a/configure
+++ b/configure
@@ -2275,7 +2275,7 @@ probe_cc(){
_depflags='-MMD'
_cflags_speed='-O3'
_cflags_size='-Os'
- elif $_cc -version 2>/dev/null | grep -q TMS470; then
+ elif $_cc -version 2>/dev/null | grep -Eq 'TMS470|TI ARM'; then
_type=tms470
_ident=$($_cc -version | head -n1 | tr -s ' ')
_flags='--gcc --abi=eabi -me'