[packages/valgrind] on %{arm} ensure valgrind is built in arm mode

atler atler at pld-linux.org
Thu Apr 13 15:46:47 CEST 2023


commit 179d7896b7528438b1e7b903c5235c734961c00a
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Apr 13 15:44:31 2023 +0200

    on %{arm} ensure valgrind is built in arm mode
    
    valgrind uses own assembler that assumes arm mode and compilation fails
    in thumb mode

 valgrind.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/valgrind.spec b/valgrind.spec
index b27486d..06046ac 100644
--- a/valgrind.spec
+++ b/valgrind.spec
@@ -39,6 +39,8 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # ld portion broken
 %undefine	with_ccache
 
+%define		specflags_arm	-marm
+
 %description
 Valgrind is a GPL'd system for debugging and profiling Linux programs.
 With the tools that come with Valgrind, you can automatically detect
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/valgrind.git/commitdiff/179d7896b7528438b1e7b903c5235c734961c00a



More information about the pld-cvs-commit mailing list