summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJurij Smakov <jurij@wooyd.org>2007-12-28 23:59:53 +0200
committerDaniel Stone <daniel@fooishbar.org>2007-12-29 00:00:04 +0200
commit36ff05771b0699aa80ad718e24097bc25cb4fb00 (patch)
treeb37661db94e2613029d644beca06c04aa5d3e5a1 /hw
parentbae459cfc4f17a5ec5f2810e9f913e3ad2d8b8d4 (diff)
GL: Add GLX compile flags lost in modular X server changes
RISC chips that trap on unaligned loads and stores need to define __GLX_ALIGN64. This used to get added to the cflags in the old *.cf files but it no longer does in the modular X server. Also, Alpha needs to pass -mieee to the compiler as well. This is a simple backport of a patch that debian, and probably other distributions, have been applying forever. To the best of my knowledge the patch was written by Jurij Smakov. See Debian bug number #388125. I just checked and this has been rotting for more than a year in freedesktop bugzilla as #8392. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'hw')
-rw-r--r--hw/dmx/glxProxy/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/dmx/glxProxy/Makefile.am b/hw/dmx/glxProxy/Makefile.am
index 1fbc8d764..f99549817 100644
--- a/hw/dmx/glxProxy/Makefile.am
+++ b/hw/dmx/glxProxy/Makefile.am
@@ -32,6 +32,7 @@ libglxproxy_a_SOURCES = compsize.c \
unpack.h
AM_CFLAGS = \
+ @GLX_ARCH_DEFINES@ \
$(DIX_CFLAGS) \
-I$(top_srcdir)/hw/dmx \
-I$(top_srcdir)/include \