From 4ce757492c841ea523902c0eba4def608bcdeb33 Mon Sep 17 00:00:00 2001 From: Matthias Baesken Date: Fri, 3 Aug 2018 07:59:01 +0200 Subject: [PATCH] 8208744: remove unneeded -DUSE_MMAP settings for JDK native libs builds Reviewed-by: ihse, martin, alanb, dholmes --- make/lib/Lib-jdk.jdi.gmk | 2 +- make/lib/Lib-jdk.jdwp.agent.gmk | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/make/lib/Lib-jdk.jdi.gmk b/make/lib/Lib-jdk.jdi.gmk index 197b95c2e20..f1b3a5ab3b5 100644 --- a/make/lib/Lib-jdk.jdi.gmk +++ b/make/lib/Lib-jdk.jdi.gmk @@ -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, \ diff --git a/make/lib/Lib-jdk.jdwp.agent.gmk b/make/lib/Lib-jdk.jdwp.agent.gmk index 0bc93e0d352..ecaf452be3b 100644 --- a/make/lib/Lib-jdk.jdwp.agent.gmk +++ b/make/lib/Lib-jdk.jdwp.agent.gmk @@ -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, \