summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-10-19 11:01:43 -0700
committerCy Schubert <cy@FreeBSD.org>2021-10-19 11:47:41 -0700
commit597182e3316938b72f21321224cf49e48e19ab15 (patch)
treea6477f279378082152a0d2127d520e677723923e
parentaudio/oss: Fix build on 14-CURRENT (diff)
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 ...
-rw-r--r--security/ipv6toolkit/Makefile2
1 files changed, 1 insertions, 1 deletions
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