From 69fd190be48868165e1f2abf39990f46924d2402 Mon Sep 17 00:00:00 2001 From: yuzengqi Date: Wed, 20 Sep 2023 16:50:57 +0800 Subject: [PATCH] Fix clang build error. Add option in spec to solve the error. --- openjdk-latest.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openjdk-latest.spec b/openjdk-latest.spec index bad206a..1956280 100644 --- a/openjdk-latest.spec +++ b/openjdk-latest.spec @@ -1317,6 +1317,9 @@ bash ../configure \ %endif %ifarch %{ppc64le} --with-jobs=1 \ +%endif +%if "%toolchain" == "clang" + --with-toolchain-type=clang \ %endif --with-version-build=%{buildver} \ --with-version-pre=\"${EA_DESIGNATOR}\" \ @@ -1749,6 +1752,9 @@ cjc.mainProgram(arg) %changelog +* Wed Sep 20 2023 yuzengqi - 1:20.0.1.9-0-rolling +- Update spec to fix clang build error. + * Thu May 4 2023 wanghao - 1:20.0.1.9-0-rolling - Update to jdk-20.0.1+9 - remove pr3183-rh1340845-support_system_crypto_policy.patch -- Gitee