Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/x11/Xserver/hw/xfree86/loader use mmap() on amd64 to activat...
details: https://anonhg.NetBSD.org/src/rev/4658a7f7fe0d
branches: trunk
changeset: 565620:4658a7f7fe0d
user: drochner <drochner%NetBSD.org@localhost>
date: Thu Apr 15 14:52:03 2004 +0000
description:
use mmap() on amd64 to activate the loader.c hack
diffstat:
x11/Xserver/hw/xfree86/loader/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r a96262924a9c -r 4658a7f7fe0d x11/Xserver/hw/xfree86/loader/Makefile
--- a/x11/Xserver/hw/xfree86/loader/Makefile Thu Apr 15 14:48:41 2004 +0000
+++ b/x11/Xserver/hw/xfree86/loader/Makefile Thu Apr 15 14:52:03 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/03/06 03:31:08 rtr Exp $
+# $NetBSD: Makefile,v 1.4 2004/04/15 14:52:03 drochner Exp $
.include "../../../Makefile.serverlib"
@@ -34,6 +34,10 @@
CPPFLAGS+= ${X11FLAGS.OS_DEFINES} -DDLOPEN_SUPPORT -DHAS_SHM \
-DFONTENC_COMPATIBILITY -DXFree86LOADER -DFONTCACHE
+.if ${MACHINE_ARCH} == "x86_64"
+CPPFLAGS+= -DUseMMAP
+.endif
+
CPPFLAGS.loadmod.c= ${X11FLAGS.EXTENSION} -DDEFAULT_MODULE_PATH=\"${X11USRLIBDIR}/modules\"
CPPFLAGS.xf86sym.c= ${X11FLAGS.EXTENSION}
CPPFLAGS.dixsym.c= ${X11FLAGS.EXTENSION}
Home |
Main Index |
Thread Index |
Old Index