aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndreas Boll <andreas.boll.dev@gmail.com>2013-03-16 13:50:19 +0100
committerIan Romanick <ian.d.romanick@intel.com>2013-04-05 19:01:09 -0700
commit0c0e72f7560c6bf7d7c12da43559a4e53262faa4 (patch)
tree8372bc4ca19caa7d8c489cfe78890e6518f29397 /configure.ac
parent60e5696de36156aca080c28c4b646c78d4580ee9 (diff)
build: Enable x86 assembler on Hurd.
Taken from downstream: http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/10-hurd-configure-tweaks.diff;h=984e17df1b8afdf8e4b36bee96aa5ab6a5691021;hb=refs/heads/ubuntu%2B1 Thanks to Pino Toscano. v2: Don't bother with x86_64. AFAICT GNU/Hurd doesn't support it so far. NOTE: This is a candidate for stable branches. Acked-by: Kenneth Graunke <kenneth@whitecape.org> (v1) Acked-by: Matt Turner <mattst88@gmail.com> (cherry picked from commit 06fff296e98b054fb54cfa32f72331f10f0bb629)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3ac932bf298..1c9d606fcdb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -452,6 +452,9 @@ if test "x$enable_asm" = xyes; then
linux* | *freebsd* | dragonfly* | *netbsd*)
test "x$enable_64bit" = xyes && asm_arch=x86_64 || asm_arch=x86
;;
+ gnu*)
+ asm_arch=x86
+ ;;
esac
;;
x86_64)