!157 Update spec to make the clang compiler build successful

From: @ridedolphin 
Reviewed-by: @kuenking111 
Signed-off-by: @kuenking111
This commit is contained in:
openeuler-ci-bot 2023-09-25 07:35:33 +00:00 committed by Gitee
commit 43bef8a09a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1336,6 +1336,9 @@ bash ../configure \
%endif %endif
%ifarch %{ppc64le} %ifarch %{ppc64le}
--with-jobs=1 \ --with-jobs=1 \
%endif
%if "%toolchain" == "clang"
--with-toolchain-type=clang \
%endif %endif
--with-version-build=%{buildver} \ --with-version-build=%{buildver} \
--with-version-pre=\"${EA_DESIGNATOR}\" \ --with-version-pre=\"${EA_DESIGNATOR}\" \