PERFORCE change 115112 for review

Alexander Leidinger netchild at FreeBSD.org
Tue Feb 27 10:51:47 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=115112

Change 115112 by netchild at netchild_magellan on 2007/02/27 10:51:06

	Make this compile on amd64 not only with LINT.
	
	Submitted by:	Scot Hetzel <swhetzel at gmail.com>

Affected files ...

.. //depot/projects/linuxolator/src/sys/modules/linuxaio/Makefile#2 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/modules/linuxaio/Makefile#2 (text+ko) ====

@@ -1,8 +1,12 @@
 # $FreeBSD: src/linuxaio/Makefile,v 1.1 2007/01/25 14:39:24 admin Exp $
 
+.if ${MACHINE_ARCH} == "amd64"
+CFLAGS+=-DCOMPAT_LINUX32
+.endif
+
 .PATH:  ${.CURDIR}/../../compat/linux
 
 KMOD=	linuxaio
-SRCS=	linux_aio.c linux_aio.h
+SRCS=	linux_aio.c linux_aio.h opt_compat.h
 
 .include <bsd.kmod.mk>


More information about the p4-projects mailing list