git: 1cddd629523b - main - devel/p5-Data-MessagePack-Stream: fix build on riscv64
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Jun 30 20:52:09 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1cddd629523b9759ac9dc0a7023abb4131f1f156
commit 1cddd629523b9759ac9dc0a7023abb4131f1f156
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-30 20:52:08 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-30 20:52:08 +0000
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
---
devel/p5-Data-MessagePack-Stream/Makefile | 1 +
1 file changed, 1 insertion(+)
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>
More information about the dev-commits-ports-all
mailing list