diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2010-12-21 12:03:03 -0800 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2010-12-21 12:03:35 -0800 |
commit | bab2007dbd31c03e04473035d363521128e88f46 (patch) | |
tree | 96aa0f5bb0e4af96aa97f985aca0d8002c52a47f /m4 | |
parent | bb09ec80049644270069d59eabd92a3f2687ac36 (diff) |
m4: Fix ARM compiler detection
The assumption that the host_cpu will be 'arm' is incorrect. It can also
be 'armel', 'armv7a' or something else along these lines.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/as-host-defines.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/as-host-defines.m4 b/m4/as-host-defines.m4 index d43596f..6a85cbc 100644 --- a/m4/as-host-defines.m4 +++ b/m4/as-host-defines.m4 @@ -23,7 +23,7 @@ AC_DEFUN([AS_HOST_DEFINES], HAVE_POWERPC=yes AC_DEFINE(HAVE_POWERPC, 1, [Defined if host is powerpc]) ;; - xarm) + xarm*) HAVE_ARM=yes AC_DEFINE(HAVE_ARM, 1, [Defined if host is arm]) ;; |