summaryrefslogtreecommitdiff
path: root/Makefile.direct
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2018-12-23 10:50:15 +0300
committerIvan Maidanski <ivmai@mail.ru>2018-12-23 10:50:15 +0300
commit8382d5ad371cb127f45c8340c78decc9c077b718 (patch)
treee95357d817a8cb9f07ffd26be7779cacabb9d1d7 /Makefile.direct
parent2413c4f86c0dc14bdef063c86d837bdb7559f1b5 (diff)
downloadbdwgc-8382d5ad371cb127f45c8340c78decc9c077b718.tar.gz
Turn on memory unmapping in BCC/DMC/NT/WCC makefiles and Makefile.direct
* BCC_MAKEFILE (defines): Add -D USE_MUNMAP. * NT_MAKEFILE (CFLAGS_DEFAULT): Likewise. * WCC_MAKEFILE [MSWIN32] (DEFS): Likewise. * digimars.mak (DEFINES): Likewise. * Makefile.direct (CFLAGS): Add -D USE_MMAP -D USE_MUNMAP.
Diffstat (limited to 'Makefile.direct')
-rw-r--r--Makefile.direct2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.direct b/Makefile.direct
index 4bfcaeef..7422cd0c 100644
--- a/Makefile.direct
+++ b/Makefile.direct
@@ -48,7 +48,7 @@ CFLAGS_EXTRA=
CFLAGS= -O -I$(srcdir)/include -I$(AO_SRC_DIR)/src \
-DALL_INTERIOR_POINTERS -DENABLE_DISCLAIM -DGC_ATOMIC_UNCOLLECTABLE \
-DGC_GCJ_SUPPORT -DJAVA_FINALIZATION -DNO_EXECUTE_PERMISSION \
- $(CFLAGS_FOR_PIC) $(CFLAGS_EXTRA)
+ -DUSE_MMAP -DUSE_MUNMAP $(CFLAGS_FOR_PIC) $(CFLAGS_EXTRA)
# To build the collector with threads support, add to the above:
# -DGC_THREADS -DPARALLEL_MARK -DTHREAD_LOCAL_ALLOC