On x86_64, drop use of mmap for the Xserver's own dynamic linker, because:

1. we don't use it on any other port, and
2. it's the sole reason which prevents us from upping the data limit.
This commit is contained in:
ws 2005-02-10 10:39:25 +00:00
parent dec70f4a29
commit 056bceceaa

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2004/04/15 14:52:03 drochner Exp $
# $NetBSD: Makefile,v 1.5 2005/02/10 10:39:25 ws Exp $
.include "../../../Makefile.serverlib"
@ -34,10 +34,6 @@ CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/${LIB} \
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}