git: 97ab578fe9a0 - main - graphics/libglvnd: allow the port to build on RISC-V
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jul 2023 07:10:46 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=97ab578fe9a0f27cb7682c9ce48a50a6a806bb37
commit 97ab578fe9a0f27cb7682c9ce48a50a6a806bb37
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-07-09 07:10:06 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-07-09 07:10:06 +0000
graphics/libglvnd: allow the port to build on RISC-V
Use the same treatment as on PowerPC:
Program python3 found: YES (/usr/local/bin/python3.8)
Program nm found: YES (/usr/bin/nm)
Message: Host CPU family: riscv64
Message: Host CPU: riscv64
meson.build:82:4: ERROR: Problem encountered: No ASM
available for freebsd (little endian)
---
graphics/libglvnd/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/graphics/libglvnd/Makefile b/graphics/libglvnd/Makefile
index ece9248ce38e..e7e26587eaea 100644
--- a/graphics/libglvnd/Makefile
+++ b/graphics/libglvnd/Makefile
@@ -33,7 +33,7 @@ CFLAGS+= -no-integrated-as
.elif ${ARCH} == powerpc64
BUILD_DEPENDS= as:devel/binutils
CFLAGS+= -no-integrated-as -O0
-.elif ${ARCH} == powerpc
+.elif ${ARCH} == powerpc || ${ARCH} == riscv64
MESON_ARGS+= -Dasm=disabled
.endif