packaging: build for riscv64
authorŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 19 Sep 2022 09:16:33 +0000 (11:16 +0200)
committerDongkyun Son <dongkyun.s@samsung.com>
Wed, 28 Jun 2023 11:55:52 +0000 (20:55 +0900)
Change-Id: I277b955ec87a818ec5bf16a5bc85943e2e4fd152
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
packaging/gcc-contrib.spec

index afc109d..0aab51b 100644 (file)
@@ -13,7 +13,7 @@
 %define itm_arch x86_64 %ix86 %arm ppc ppc64 ppc64le s390 s390x %sparc aarch64
 %define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc m68k
 %define lsan_arch x86_64 %ix86 armv7l aarch64
-%define ubsan_arch x86_64 %ix86 ppc ppc64 %arm aarch64
+%define ubsan_arch x86_64 %ix86 ppc ppc64 %arm aarch64 riscv64
 %define cilkrts_arch x86_64 %ix86
 
 %ifarch armv7l
@@ -29,6 +29,9 @@
 %ifarch aarch64
 %define ARCH aarch64
 %endif
+%ifarch riscv64
+%define ARCH riscv64
+%endif
 %define host_arch %{ARCH}-tizen-linux-gnu%{?ABI}
 
 %define target_cpu %{?cross}%{!?cross:%{ARCH}}