!48 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-22 00:38:37 +00:00 committed by Gitee
commit d8d3719bb7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1374,6 +1374,9 @@ bash ../configure \
%ifnarch loongarch64
--with-vendor-version-string="%{vendor_version_string}" \
--with-vendor-name="openEuler Community" \
%endif
%if "%toolchain" == "clang"
--with-toolchain-type=clang \
%endif
--with-vendor-url="https://openeuler.org/" \
--with-vendor-bug-url="%{bug_url}" \