changeset 51324:10ef3d870cb7

8208744: remove unneeded -DUSE_MMAP settings for JDK native libs builds Reviewed-by: ihse, martin, alanb, dholmes
author mbaesken
date Fri, 03 Aug 2018 07:59:01 +0200
parents b44abec1bcfc
children 52fed262f009
files make/lib/Lib-jdk.jdi.gmk make/lib/Lib-jdk.jdwp.agent.gmk
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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, \