From d9fb13565a537c5096d3c596c159db29ae81db99 Mon Sep 17 00:00:00 2001 From: mrg Date: Sat, 17 Apr 2004 06:47:04 +0000 Subject: [PATCH] only -D_PC on i386/amd64. from PR#25036. --- x11/Xserver/hw/xfree86/int10/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/x11/Xserver/hw/xfree86/int10/Makefile b/x11/Xserver/hw/xfree86/int10/Makefile index abc3d61058f3..6aa025894405 100644 --- a/x11/Xserver/hw/xfree86/int10/Makefile +++ b/x11/Xserver/hw/xfree86/int10/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2004/02/07 06:52:07 lukem Exp $ +# $NetBSD: Makefile,v 1.4 2004/04/17 06:47:04 mrg Exp $ XMODULEDIR= ${X11USRLIBDIR}/modules @@ -13,7 +13,10 @@ SRCS= pci.c xf86int10module.c helper_exec.c helper_mem.c xf86int10.c \ prim_ops.c sys.c CPPFLAGS+= -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG \ - -D_X86EMU -D_PC + -D_X86EMU +.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" +CPPFLAGS+= -D_PC +.endif CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \ -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support \