Fix clang build error.

Add option in spec to solve the error.
This commit is contained in:
yuzengqi 2023-09-21 21:14:47 +08:00
parent 802e70c2e2
commit 1ae61ff66b

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}" \