Skip to content

Commit 563625d

Browse files
authored
Fix inconsistent building of static JDK libraries
1 parent b0ac633 commit 563625d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

make/common/native/Link.gmk

+2-6
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,8 @@ endef
6868

6969
################################################################################
7070
define CreateStaticLibrary
71-
# Include partial linking when building the static library with clang on linux
72-
ifeq ($(call isTargetOs, linux), true)
73-
ifneq ($(findstring $(TOOLCHAIN_TYPE), clang), )
74-
$1_ENABLE_PARTIAL_LINKING := true
75-
endif
76-
endif
71+
# Disable partial linking due to JDK-8342974
72+
$1_ENABLE_PARTIAL_LINKING := false
7773

7874
$1_VARDEPS := $$($1_AR) $$(ARFLAGS) $$($1_LIBS) \
7975
$$($1_EXTRA_LIBS)

0 commit comments

Comments
 (0)