Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2021 20:52:08 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1cddd629523b - main - devel/p5-Data-MessagePack-Stream: fix build on riscv64
Message-ID:  <202106302052.15UKq8KQ072690@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1cddd629523b9759ac9dc0a7023abb4131f1f156

commit 1cddd629523b9759ac9dc0a7023abb4131f1f156
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-06-30 20:52:08 +0000
Commit:     Piotr Kubaj <pkubaj@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106302052.15UKq8KQ072690>