From a15bafa065def195954659d90f9032b1c5f6038c Mon Sep 17 00:00:00 2001 From: "wangmengqi13@huawei.com" Date: Mon, 27 Mar 2023 11:36:13 +0800 Subject: [PATCH] [I6QIS5]add libstdc++-static in spec and del --with-stdic++lib=dynamic --- openjdk-17.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openjdk-17.spec b/openjdk-17.spec index 1e59da2..ac3348d 100644 --- a/openjdk-17.spec +++ b/openjdk-17.spec @@ -885,7 +885,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release} Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{buildver} -Release: 1 +Release: 2 # 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 @@ -983,6 +983,7 @@ BuildRequires: alsa-lib-devel BuildRequires: binutils BuildRequires: cups-devel BuildRequires: desktop-file-utils +BuildRequires: libstdc++-static # elfutils only are OK for build without AOT BuildRequires: elfutils-devel BuildRequires: elfutils-extra @@ -1346,7 +1347,6 @@ bash ../configure \ --with-giflib=system \ --with-libpng=system \ --with-harfbuzz=system \ - --with-stdc++lib=dynamic \ --with-extra-cxxflags="$EXTRA_CPP_FLAGS" \ --with-extra-cflags="$EXTRA_CFLAGS" \ --with-extra-ldflags="%{ourldflags}" \ @@ -1763,6 +1763,9 @@ cjc.mainProgram(arg) %changelog +* Thu Mar 27 2023 crash888 - 1:17.0.6.9-0.2 +- add libstdc++-static and del --with-static++lib=dynamic + * Thu Mar 23 2023 crash888 - 1:17.0.6.9-0.1 - del --whth-lcms=system -- Gitee