pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

valgrind-netbsd-git: reduce pkgsrc-added CFLAGS as much as possible



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun Feb 8 19:58:11 2026 +0100
Changeset:	3be3b53e21a67e7b05cc9ee59e4d557e33e4494c

Modified Files:
	valgrind-netbsd-git/Makefile

Log Message:
valgrind-netbsd-git: reduce pkgsrc-added CFLAGS as much as possible

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3be3b53e21a67e7b05cc9ee59e4d557e33e4494c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 valgrind-netbsd-git/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diffs:
diff --git a/valgrind-netbsd-git/Makefile b/valgrind-netbsd-git/Makefile
index 7f35f255eb..0c6316d898 100644
--- a/valgrind-netbsd-git/Makefile
+++ b/valgrind-netbsd-git/Makefile
@@ -32,10 +32,16 @@ CHECK_RELRO_SKIP+=	libexec/valgrind/none-amd64-netbsd
 
 PKGSRC_MKPIE=		no
 PKGSRC_USE_STACK_CHECK=	no
+PKGSRC_USE_FORTIFY=	no
 # this is not enough
+PKGSRC_USE_RELRO=	no
 PKGSRC_USE_SSP=		no
-# so claim that this platform doesn't support SSP
+# so claim that this platform doesn't support SSP & RELRO
 SSP_SUPPORTED=		no
+RELRO_SUPPORTED=	no
+
+# -O2 strips code from the test cases
+CFLAGS+=		-O0
 
 REPLACE_PERL+=		callgrind/callgrind_annotate.in
 REPLACE_PERL+=		callgrind/callgrind_control.in


Home | Main Index | Thread Index | Old Index