Date: Tue, 19 Oct 2021 18:48:17 GMT From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 597182e33169 - main - security/ipv6toolkit: fix build on 14-CURRENT on amd64 Message-ID: <202110191848.19JImHwT061811@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=597182e3316938b72f21321224cf49e48e19ab15 commit 597182e3316938b72f21321224cf49e48e19ab15 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2021-10-19 18:01:43 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2021-10-19 18:47:41 +0000 security/ipv6toolkit: fix build on 14-CURRENT on amd64 This fixes the following on 14-CURRENT on amd64: ld: error: can't create dynamic relocation R_X86_64_32S against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in /wrkdirs/usr/ports/security/ipv6toolkit/work/ipv6toolkit-v2.0/libipv6/libipv6.a(libipv6.o) >>> referenced by libipv6.c >>> libipv6.o:(is_service_port) in archive /wrkdirs/usr/ports/security/ipv6toolkit/work/ipv6toolkit-v2.0/libipv6/libipv6.a ... --- security/ipv6toolkit/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/ipv6toolkit/Makefile b/security/ipv6toolkit/Makefile index 1c884a432a8e..6fe0328a9458 100644 --- a/security/ipv6toolkit/Makefile +++ b/security/ipv6toolkit/Makefile @@ -17,7 +17,7 @@ SUB_FILES= BSDMakefile Makefile Makefile.lib MAKEFILE= BSDMakefile PORTDOCS= README.TXT CHANGES.TXT CREDITS.TXT -CFLAGS_riscv64= -fPIC +CFLAGS+= -fPIC PROGDIRS= addr6 flow6 frag6 icmp6 jumbo6 na6 ni6 ns6 path6 ra6 rd6 rs6 \ scan6 tcp6 udp6
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110191848.19JImHwT061811>