From 187840a13b2221e8a699025358387ba9dddb7dd5 Mon Sep 17 00:00:00 2001 From: wuyafang Date: Thu, 17 Oct 2024 11:49:51 +0800 Subject: [PATCH 1/2] test ci --- test-ci.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 test-ci.md diff --git a/test-ci.md b/test-ci.md new file mode 100644 index 0000000..8f9f6fe --- /dev/null +++ b/test-ci.md @@ -0,0 +1 @@ +only for test ci -- Gitee From 573e9c9771d4cc8ad9dc5f15c8e41013facbf608 Mon Sep 17 00:00:00 2001 From: wuyafang Date: Sat, 19 Oct 2024 11:48:16 +0800 Subject: [PATCH 2/2] try to fix undefined reference --- openjdk-11.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openjdk-11.spec b/openjdk-11.spec index 9c7776a..d1e18fa 100644 --- a/openjdk-11.spec +++ b/openjdk-11.spec @@ -22,6 +22,8 @@ # Enable release builds by default on relevant arches. %bcond_without release +%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. # See: https://bugzilla.redhat.com/show_bug.cgi?id=1520879 @@ -205,7 +207,6 @@ # not-duplicated scriptlets for normal/debug packages %global update_desktop_icons /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - %define post_script() %{expand: update-desktop-database %{_datadir}/applications &> /dev/null || : /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : -- Gitee