diff --git a/openjdk-latest.spec b/openjdk-latest.spec index bad206add3dfcced0194dfeafc2dbc9179f36b4c..0dae7037ac399a7868c6a8a62281b702651f511e 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}\" \