diff --git a/openjdk-latest.spec b/openjdk-latest.spec index 79021e2832bd5e005ed7fe8069e42a566198483d..f56db7988ff4acb85ab9b89cb36363ec2cfab601 100644 --- a/openjdk-latest.spec +++ b/openjdk-latest.spec @@ -1336,6 +1336,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}\" \