[packages/systemtap] disable dangling pointer warnings to fix build on i686

atler atler at pld-linux.org
Mon Jul 3 14:28:50 CEST 2023


commit 6d4da90e34e7ea09b760779633787781684acd22
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jul 3 13:36:06 2023 +0200

    disable dangling pointer warnings to fix build on i686

 systemtap.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/systemtap.spec b/systemtap.spec
index c1375e3..258b9f1 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -320,6 +320,7 @@ find testsuite/systemtap.examples/ -name '*.stp' -print0 | xargs -0 \
 %{__autoheader}
 %{__automake}
 %configure \
+	CXXFLAGS="%{rpmcxxflags} -Wno-dangling-pointer" \
 	%{?with_java:have_javac="%{java_home}/bin/javac"} \
 	%{?with_java:have_jar="%{java_home}/bin/jar"} \
 	--disable-silent-rules \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemtap.git/commitdiff/6d4da90e34e7ea09b760779633787781684acd22



More information about the pld-cvs-commit mailing list