Fixed to build error for riscv64 20/295120/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.094856 accepted/tizen/unified/20230703.143022 tizen_8.0_m2_release
authorwchang kim <wchang.kim@samsung.com>
Thu, 25 May 2023 23:39:47 +0000 (08:39 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 3 Jul 2023 05:20:37 +0000 (14:20 +0900)
Remove gdbserver packaging from riscv64 to fix build error.

Change-Id: Id1fb0cace855f439731ce92b4f2e07e52b21b864
Signed-by-off: wchang kim <wchang.kim@samsung.com>

packaging/gdb.spec

index de8b82c..af5ddb7 100644 (file)
@@ -52,6 +52,7 @@ Summary:        Development files for gdb
 %description devel
 Development files for gdb.
 
+%ifnarch riscv64
 %package server
 Summary:        A standalone server for GDB (the GNU source-level debugger)
 
@@ -61,6 +62,7 @@ Java, and other languages, by executing them in a controlled fashion
 and printing their data.
 
 This package provides a program that allows you to run GDB on a different machine than the one which is running the program being debugged.
+%endif
 
 %{?gdb_run_tests:
 %package testresults
@@ -149,6 +151,7 @@ cat bfd.lang >> %{name}.lang
 %{_bindir}/*
 %{_datadir}/gdb
 
+%ifnarch riscv64
 %files server
 %manifest %{name}.manifest
 %defattr(-,root,root)
@@ -157,6 +160,7 @@ cat bfd.lang >> %{name}.lang
 %ifarch %{ix86} x86_64 aarch64
 %{_libdir}/libinproctrace.so
 %endif
+%endif
 
 %files devel
 %manifest %{name}.manifest