changeset 41479:bf50b06f27b5

8167479: arm 32/64 slowdebug fails to build on unpack200 Reviewed-by: ihse
author erikj
date Wed, 12 Oct 2016 14:25:07 +0200
parents ca05091d2cf8
children 44588c4e91af
files jdk/make/launcher/Launcher-jdk.pack200.gmk
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/make/launcher/Launcher-jdk.pack200.gmk	Tue Oct 11 16:25:52 2016 -0700
+++ b/jdk/make/launcher/Launcher-jdk.pack200.gmk	Wed Oct 12 14:25:07 2016 +0200
@@ -58,10 +58,6 @@
 
 endif
 
-ifeq ($(OPENJDK_TARGET_OS), solaris)
-  UNPACKEXE_TOOLCHAIN := TOOLCHAIN_LINK_CXX
-endif
-
 UNPACK_MAPFILE_DIR := $(JDK_TOPDIR)/make/mapfiles/libunpack
 UNPACK_MAPFILE_PLATFORM_FILE := \
     $(UNPACK_MAPFILE_DIR)/mapfile-vers-unpack200-$(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH)
@@ -79,7 +75,7 @@
 
 $(eval $(call SetupNativeCompilation,BUILD_UNPACKEXE, \
     SRC := $(UNPACKEXE_SRC), \
-    TOOLCHAIN := $(UNPACKEXE_TOOLCHAIN), \
+    TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
     OPTIMIZATION := LOW, \
     CFLAGS := $(UNPACKEXE_CFLAGS) $(CXXFLAGS_JDKEXE) -DFULL, \
     CFLAGS_release := -DPRODUCT, \