aboutsummaryrefslogtreecommitdiff
path: root/config/hwcaps.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/hwcaps.m4')
-rw-r--r--config/hwcaps.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config/hwcaps.m4 b/config/hwcaps.m4
index ff352fd..33f0905 100644
--- a/config/hwcaps.m4
+++ b/config/hwcaps.m4
@@ -7,6 +7,7 @@ dnl HWCAP_CFLAGS='-Wa,-nH' if possible.
dnl
AC_DEFUN([GCC_CHECK_ASSEMBLER_HWCAP], [
test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
+ AC_REQUIRE([AC_CANONICAL_TARGET])
# Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
# with a different meaning.