summaryrefslogtreecommitdiff
path: root/xserver/hw
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/hw')
-rw-r--r--xserver/hw/xfree86/os-support/misc/Makefile.am7
-rw-r--r--xserver/hw/xfree86/os-support/misc/Makefile.in3
2 files changed, 8 insertions, 2 deletions
diff --git a/xserver/hw/xfree86/os-support/misc/Makefile.am b/xserver/hw/xfree86/os-support/misc/Makefile.am
index 0265aecd4..98e962f1b 100644
--- a/xserver/hw/xfree86/os-support/misc/Makefile.am
+++ b/xserver/hw/xfree86/os-support/misc/Makefile.am
@@ -7,6 +7,11 @@ libmisc_la_SOURCES = SlowBcopy.c
AM_CPPFLAGS = $(XORG_INCS)
-AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS)
+if I386_VIDEO
+NOSSE_CFLAGS = -mno-sse
+endif
+
+AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) $(NOSSE_CFLAGS)
+
EXTRA_DIST = $(I386_SRCS) $(PORTIO_SRCS)
diff --git a/xserver/hw/xfree86/os-support/misc/Makefile.in b/xserver/hw/xfree86/os-support/misc/Makefile.in
index c286ad3d5..05340042d 100644
--- a/xserver/hw/xfree86/os-support/misc/Makefile.in
+++ b/xserver/hw/xfree86/os-support/misc/Makefile.in
@@ -475,7 +475,8 @@ libmisc_la_SOURCES = SlowBcopy.c
#AM_LDFLAGS = -r
AM_CPPFLAGS = $(XORG_INCS)
-AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS)
+@I386_VIDEO_TRUE@NOSSE_CFLAGS = -mno-sse
+AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) $(NOSSE_CFLAGS)
EXTRA_DIST = $(I386_SRCS) $(PORTIO_SRCS)
all: all-am