pass ${MACHINE} as -D__<whatever> so we can have arch-specific defaults
This commit is contained in:
parent
b974c45b30
commit
bd3339ab7c
|
@ -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 @@ CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/xfree86/common \
|
|||
-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} \
|
||||
|
|
Loading…
Reference in New Issue