diff --git a/openjdk-17.spec b/openjdk-17.spec index 315494a785a20d9cea538f2b85494b8b5ca19f84..642980820a7830f4953ac5d3c919ddedfd423990 100644 --- a/openjdk-17.spec +++ b/openjdk-17.spec @@ -22,6 +22,9 @@ # Enable release builds by default on relevant arches. %bcond_without release +# Disable global LTO +%define _lto_cflags %{nil} + # The -g flag says to use strip -g instead of full strip on DSOs or EXEs. # This fixes detailed NMT and other tools which need minimal debug info. %global _find_debuginfo_opts -g @@ -914,7 +917,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release} Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{buildver} -Release: 2 +Release: 3 # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # and this change was brought into RHEL-4. java-1.5.0-ibm packages @@ -1963,6 +1966,9 @@ cjc.mainProgram(args) -- the returns from copy_jdk_configs.lua should not affect %changelog +* Mon Mar 24 2025 Whitney33 - 1:17.0.14.7-3 +- fix condigure arguments, disable global lto + * Fri Feb 21 2025 songliyang - 1:17.0.14.7-2 - fix LoongArch64 support patch apply error