aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-30 20:52:08 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-30 20:52:08 +0000
commit1cddd629523b9759ac9dc0a7023abb4131f1f156 (patch)
treebb8f63915ff79d8b835ac91d922b5637e5a1d012
parentaa134050b98ef37ce0553ecaae65b3a1020b5b04 (diff)
downloadports-1cddd629523b9759ac9dc0a7023abb4131f1f156.tar.gz
ports-1cddd629523b9759ac9dc0a7023abb4131f1f156.zip
devel/p5-Data-MessagePack-Stream: fix build on riscv64
ld: error: can't create dynamic relocation R_RISCV_LO12_I against symbol: decl_count in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
-rw-r--r--devel/p5-Data-MessagePack-Stream/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/p5-Data-MessagePack-Stream/Makefile b/devel/p5-Data-MessagePack-Stream/Makefile
index 64102f3aaa4f..54fe0f6aada8 100644
--- a/devel/p5-Data-MessagePack-Stream/Makefile
+++ b/devel/p5-Data-MessagePack-Stream/Makefile
@@ -22,5 +22,6 @@ CFLAGS_aarch64= -fPIC
CFLAGS_armv7= -fPIC
CFLAGS_i386= -fPIC
CFLAGS_powerpc= -fPIC
+CFLAGS_riscv64= -fPIC
.include <bsd.port.mk>