# HG changeset patch # User erikj # Date 1435568117 -7200 # Node ID 11c86b5b827d78b08915abc8e7a6f9682dad6a2a # Parent f66c185284727f6e6ffd27e9c45ed2dd9da0a691 8114822: debug build with --disable-debug-symbols fails: java.io.UncheckedIOException Reviewed-by: dholmes diff -r f66c18528472 -r 11c86b5b827d make/StripBinaries.gmk --- a/make/StripBinaries.gmk Wed Jul 05 20:39:43 2017 +0200 +++ 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, \