From 4bb75d7054718a3fac2872af36181a924675acca Mon Sep 17 00:00:00 2001 From: Whitney33 Date: Mon, 24 Mar 2025 20:12:50 +0800 Subject: [PATCH] fix condigure arguments, disable global lto --- openjdk-17.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/openjdk-17.spec b/openjdk-17.spec index 315494a..6429808 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 -- Gitee