8208744: remove unneeded -DUSE_MMAP settings for JDK native libs builds

Reviewed-by: ihse, martin, alanb, dholmes
This commit is contained in:
Matthias Baesken 2018-08-03 07:59:01 +02:00
parent 77204ca163
commit 4ce757492c
2 changed files with 2 additions and 3 deletions

View File

@ -32,7 +32,7 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
$(eval $(call SetupJdkLibrary, BUILD_LIBDT_SHMEM, \
NAME := dt_shmem, \
OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKLIB) -DUSE_MMAP, \
CFLAGS := $(CFLAGS_JDKLIB), \
EXTRA_HEADER_DIRS := \
jdk.jdwp.agent:include \
jdk.jdwp.agent:libjdwp/export, \

View File

@ -30,8 +30,7 @@ include LibCommon.gmk
$(eval $(call SetupJdkLibrary, BUILD_LIBDT_SOCKET, \
NAME := dt_socket, \
OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKLIB) -DUSE_MMAP \
$(LIBDT_SOCKET_CPPFLAGS), \
CFLAGS := $(CFLAGS_JDKLIB) $(LIBDT_SOCKET_CPPFLAGS), \
EXTRA_HEADER_DIRS := \
include \
libjdwp/export, \