Fix spec
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
c7d8cb2394
commit
91b025bac1
|
@ -1,4 +1,3 @@
|
|||
%ifnarch riscv64
|
||||
%global toolchain clang
|
||||
%global libcxxabi_version 15.0.4
|
||||
#global rc_ver 3
|
||||
|
@ -70,6 +69,8 @@ sed -i 's|#define _LIBCXXABI_ARM_EHABI||g' include/__cxxabi_config.h
|
|||
%endif
|
||||
|
||||
%cmake -GNinja \
|
||||
-DCMAKE_C_COMPILER=/usr/bin/clang \
|
||||
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
|
||||
-DCMAKE_MODULE_PATH=%{_libdir}/cmake/llvm \
|
||||
-DLIBCXXABI_LIBCXX_INCLUDES=%{_includedir}/c++/v1/ \
|
||||
%if 0%{?__isa_bits} == 64
|
||||
|
|
Loading…
Reference in New Issue