]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - config/hwcaps.m4
libiberty: Disable hwcaps for sha1.o
[thirdparty/gcc.git] / config / hwcaps.m4
index ff352fdd3a69537e72c3115228ba758c13b6a870..33f090574cf592772206d722cfc5b711a084eb2d 100644 (file)
@@ -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.