changeset 47797:3cfab71d6c81

8190284: link-time-opt should not be using -fwhole-program Reviewed-by: dholmes
author ihse
date Mon, 30 Oct 2017 08:34:54 +0100
parents acda08206310
children 5caa1d5f74c1
files make/hotspot/lib/JvmFeatures.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/hotspot/lib/JvmFeatures.gmk	Tue Nov 14 10:09:21 2017 +0100
+++ b/make/hotspot/lib/JvmFeatures.gmk	Mon Oct 30 08:34:54 2017 +0100
@@ -153,7 +153,7 @@
   # like the old build, but it's probably not right.
   JVM_OPTIMIZATION :=
   JVM_CFLAGS_FEATURES += -O3 -flto
-  JVM_LDFLAGS_FEATURES += -O3 -flto -fwhole-program -fno-strict-aliasing
+  JVM_LDFLAGS_FEATURES += -O3 -flto -fuse-linker-plugin -fno-strict-aliasing
 endif
 
 ifeq ($(call check-jvm-feature, minimal), true)