git: 2033f841ae63 - main - math/blis: fix build on riscv64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Dec 2021 19:03:35 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2033f841ae632c6537027d614f237d8e33f34c17
commit 2033f841ae632c6537027d614f237d8e33f34c17
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-12-24 19:00:03 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-12-24 19:00:03 +0000
math/blis: fix build on riscv64
ld: error: test.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
---
math/blis/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/math/blis/Makefile b/math/blis/Makefile
index 24d3013615df..ad40702db9ac 100644
--- a/math/blis/Makefile
+++ b/math/blis/Makefile
@@ -26,6 +26,7 @@ CBLAS_DESC= build the CBLAS compatibility layer
OPTIONS_DEFAULT= PARA CBLAS
OPTIONS_SUB= yes
+CFLAGS_riscv64= -mno-relax
HAS_CONFIGURE= yes
TEST_TARGET= test