We need -DAVOID_CPIO on most non-x86 ports. Set it on sparc64 and PowerPC

for now.
This commit is contained in:
macallan 2008-10-19 16:00:39 +00:00
parent 7233d29c9a
commit dbe432e650
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2008/09/22 08:21:34 rtr Exp $
# $NetBSD: Makefile,v 1.2 2008/10/19 16:00:39 macallan Exp $
DRIVER= xf86-video-mach64
DRIVER_NAME= mach64_drv
@ -18,6 +18,10 @@ SRCS.dga= atidga.c
SRCS.dri= atidri.c
SRCS.exa= atimach64exa.c
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE} == "sparc64"
CPPFLAGS+= -DAVOID_CPIO
.endif
MAN= # defined
.include "../Makefile.xf86-driver"