git: daf53c3ea1e0 - main - security/ipv6toolkit: add -fPIC for PIE support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Mar 2026 14:43:23 UTC
The branch main has been updated by tz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=daf53c3ea1e0a701080e1bc1bdb85ee173f9a5df
commit daf53c3ea1e0a701080e1bc1bdb85ee173f9a5df
Author: Torsten Zuehlsdorff <tz@FreeBSD.org>
AuthorDate: 2026-03-23 20:10:26 +0000
Commit: Torsten Zuehlsdorff <tz@FreeBSD.org>
CommitDate: 2026-03-25 14:42:59 +0000
security/ipv6toolkit: add -fPIC for PIE support
Fix dynamic relocation error R_X86_64_32S by adding -fPIC to the
static library build.
PR: 253980
---
security/ipv6toolkit/files/Makefile.lib.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/security/ipv6toolkit/files/Makefile.lib.in b/security/ipv6toolkit/files/Makefile.lib.in
index 9233716791ef..5a5225879660 100644
--- a/security/ipv6toolkit/files/Makefile.lib.in
+++ b/security/ipv6toolkit/files/Makefile.lib.in
@@ -1,6 +1,8 @@
LIB= ipv6
SRCS= libipv6.c
+CFLAGS+= -fPIC
+
.PATH: ${.CURDIR}/../tools
install: