1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

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
This commit is contained in:
Piotr Kubaj 2021-06-30 20:52:08 +00:00
parent aa134050b9
commit 1cddd62952

View File

@ -22,5 +22,6 @@ CFLAGS_aarch64= -fPIC
CFLAGS_armv7= -fPIC CFLAGS_armv7= -fPIC
CFLAGS_i386= -fPIC CFLAGS_i386= -fPIC
CFLAGS_powerpc= -fPIC CFLAGS_powerpc= -fPIC
CFLAGS_riscv64= -fPIC
.include <bsd.port.mk> .include <bsd.port.mk>