From 0d86ff24c1f57dd6533f9abe794060c209c65770 Mon Sep 17 00:00:00 2001 From: wchang kim Date: Fri, 26 May 2023 08:39:47 +0900 Subject: [PATCH] Fixed to build error for riscv64 Remove gdbserver packaging from riscv64 to fix build error. Change-Id: Id1fb0cace855f439731ce92b4f2e07e52b21b864 Signed-by-off: wchang kim --- packaging/gdb.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/gdb.spec b/packaging/gdb.spec index de8b82c..af5ddb7 100644 --- a/packaging/gdb.spec +++ b/packaging/gdb.spec @@ -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 -- 2.7.4