Hi Mike,
I noticed that FreeBSD and OpenBSD wasn't using mapfiles on the jdk
tree. I would like to enable them for PLATFORM bsd, but not for Apple
since it doesn't support them. Since mapfiles are disabled on Apply by this:
make/common/Defs-bsd.gmk:# Darwin does not support linker map files.
make/common/Defs-bsd.gmk:ifeq ($(OS_VENDOR), Apple)
make/common/Defs-bsd.gmk:LDNOMAP=true
make/common/Defs-bsd.gmk:endif
I believe the attached diff is will not break the Apple build. Would it
be possible for you to confirm this doesn't cause an issue for Apple
builds since my ppc Apple can't build right now?
Thanks,
-Kurt
diff -r 4d795e647e97 make/common/Mapfile-vers.gmk
--- a/make/common/Mapfile-vers.gmk Thu Jul 14 22:07:16 2011 -0400
+++ b/make/common/Mapfile-vers.gmk Thu Jul 14 22:09:16 2011 -0400
@@ -76,7 +76,7 @@
endif # PLATFORM
-ifeq ($(PLATFORM), linux)
+ifneq (,$(findstring $(PLATFORM), linux bsd))
ifeq ($(VARIANT), OPT)
# OPT build MUST have a mapfile?