Mercurial > hg > jdk9-shenandoah
changeset 1545:f9fed16fe0ef
8114822: debug build with --disable-debug-symbols fails: java.io.UncheckedIOException
Reviewed-by: dholmes
author | erikj |
---|---|
date | Mon, 29 Jun 2015 10:55:17 +0200 |
parents | c706ef5ea5da |
children | f50c05d4dcd5 |
files | make/StripBinaries.gmk |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/make/StripBinaries.gmk Sun Jun 28 16:38:02 2015 -0700 +++ b/make/StripBinaries.gmk Mon Jun 29 10:55:17 2015 +0200 @@ -57,16 +57,16 @@ COPY_CMDS_SRC := $(filter %.cgi, $(ALL_CMDS_SRC)) STRIP_CMDS_SRC := $(filter-out $(COPY_CMDS_SRC), $(ALL_CMDS_SRC)) -# Make sure symbolic links are copied and not stripped -COPY_LIBS_SRC := \ - $(shell $(FIND) $(SUPPORT_OUTPUTDIR)/modules_libs \ - \( ! -name '*$(SHARED_LIBRARY_SUFFIX)' -type f \) -o -type l) # OS X stores symbol information in a .dylib file inside a .dSYM directory - # that file should not be stripped, so we prune the tree at the .dSYM directory. # Example: support/modules_libs/java.base/libjsig.dylib.dSYM/Contents/Resources/DWARF/libjsig.dylib STRIP_LIBS_SRC := \ $(shell $(FIND) $(SUPPORT_OUTPUTDIR)/modules_libs \ -name '*$(SHARED_LIBRARY_SUFFIX)' -type f -print -o -name "*.dSYM" -prune) +# Make sure symbolic links are copied and not stripped. +COPY_LIBS_SRC := \ + $(filter-out $(STRIP_LIBS_SRC), \ + $(shell $(FIND) $(SUPPORT_OUTPUTDIR)/modules_libs -type f -o -type l)) $(eval $(call SetupCopyFiles,STRIP_MODULES_CMDS, \ SRC := $(SUPPORT_OUTPUTDIR)/modules_cmds, \