[PATCH] lnx_ev56.c should be built with -mbwx
Matt Turner
mattst88 at gmail.com
Sat Aug 8 21:29:27 PDT 2009
By building with -mbwx, we avoid situations where we could pass
something like "-mcpu=ev56 -mcpu=ev67" to gcc. -mcpu=ev56 was only
used to implicitly enable BWX support anyway, so let's do this
directly.
Signed-off-by: Matt Turner <mattst88 at gmail.com>
---
hw/xfree86/os-support/linux/Makefile.am | 2 +-
hw/xfree86/os-support/linux/lnx_ev56.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/xfree86/os-support/linux/Makefile.am b/hw/xfree86/os-support/linux/Makefile.am
index 1239c8f..3aa0990 100644
--- a/hw/xfree86/os-support/linux/Makefile.am
+++ b/hw/xfree86/os-support/linux/Makefile.am
@@ -10,7 +10,7 @@ PLATFORM_PCI_SUPPORT = \
$(srcdir)/lnx_axp.c \
$(srcdir)/../shared/xf86Axp.c
-liblinuxev56_la_CFLAGS = $(AM_CFLAGS) -mcpu=ev56
+liblinuxev56_la_CFLAGS = $(AM_CFLAGS) -mbwx
liblinuxev56_la_SOURCES = lnx_ev56.c
endif
diff --git a/hw/xfree86/os-support/linux/lnx_ev56.c b/hw/xfree86/os-support/linux/lnx_ev56.c
index e751da2..a617de4 100644
--- a/hw/xfree86/os-support/linux/lnx_ev56.c
+++ b/hw/xfree86/os-support/linux/lnx_ev56.c
@@ -1,4 +1,4 @@
-/* This file has to be built with -mcpu=ev56 */
+/* This file has to be built with -mbwx */
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
--
1.6.0.6
More information about the xorg-devel
mailing list