8208744: remove unneeded -DUSE_MMAP settings for JDK native libs builds
Reviewed-by: ihse, martin, alanb, dholmes
--- a/make/lib/Lib-jdk.jdi.gmk Mon Aug 06 18:49:51 2018 -0700
+++ b/make/lib/Lib-jdk.jdi.gmk Fri Aug 03 07:59:01 2018 +0200
@@ -32,7 +32,7 @@
$(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, \
--- a/make/lib/Lib-jdk.jdwp.agent.gmk Mon Aug 06 18:49:51 2018 -0700
+++ b/make/lib/Lib-jdk.jdwp.agent.gmk Fri Aug 03 07:59:01 2018 +0200
@@ -30,8 +30,7 @@
$(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, \