8190284: link-time-opt should not be using -fwhole-program
Reviewed-by: dholmes
This commit is contained in:
parent
572c174edf
commit
fdab870aff
@ -153,7 +153,7 @@ ifeq ($(call check-jvm-feature, link-time-opt), true)
|
||||
# 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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user