Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/server/xorg-server/hw/xfree86/common pass ...



details:   https://anonhg.NetBSD.org/src/rev/b4e0d3cccb0e
branches:  trunk
changeset: 764180:b4e0d3cccb0e
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Apr 13 16:18:14 2011 +0000

description:
pass ${MACHINE} as -D__<whatever> so we can have arch-specific defaults

diffstat:

 external/mit/xorg/server/xorg-server/hw/xfree86/common/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 35db41cf3650 -r b4e0d3cccb0e external/mit/xorg/server/xorg-server/hw/xfree86/common/Makefile
--- a/external/mit/xorg/server/xorg-server/hw/xfree86/common/Makefile   Wed Apr 13 12:40:54 2011 +0000
+++ b/external/mit/xorg/server/xorg-server/hw/xfree86/common/Makefile   Wed Apr 13 16:18:14 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2011/02/21 04:42:16 mrg Exp $
+#      $NetBSD: Makefile,v 1.18 2011/04/13 16:18:14 macallan Exp $
 
 .include <bsd.sys.mk> # for HOST_SH
 
@@ -75,7 +75,8 @@
                -I${X11SRCDIR.xorg-server}/render \
                -I${X11SRCDIR.xorg-server}/randr \
                -I. \
-               -I${X11SRCDIR.xorg-server}/../include
+               -I${X11SRCDIR.xorg-server}/../include \
+               -D__${MACHINE}
 
 CPPFLAGS+=     ${X11FLAGS.EXTENSION} ${X11FLAGS.OS_DEFINES} \
                ${X11FLAGS.DIX} \



Home | Main Index | Thread Index | Old Index