8208744: remove unneeded -DUSE_MMAP settings for JDK native libs builds
authormbaesken
Fri, 03 Aug 2018 07:59:01 +0200
changeset 51324 10ef3d870cb7
parent 51323 b44abec1bcfc
child 51325 52fed262f009
8208744: remove unneeded -DUSE_MMAP settings for JDK native libs builds Reviewed-by: ihse, martin, alanb, dholmes
make/lib/Lib-jdk.jdi.gmk
make/lib/Lib-jdk.jdwp.agent.gmk
--- 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, \