git: 59bd1369d9e0 - main - devel/libmsocket: fix build on riscv64

Piotr Kubaj pkubaj at FreeBSD.org
Thu Jun 17 10:28:43 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=59bd1369d9e0a0821c1300a218a96a6933175a94

commit 59bd1369d9e0a0821c1300a218a96a6933175a94
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-17 10:28:04 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-17 10:28:04 +0000

    devel/libmsocket: fix build on riscv64
    
    Same issue as on other architectures.
---
 devel/libmsocket/Makefile | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/devel/libmsocket/Makefile b/devel/libmsocket/Makefile
index 2984f390944c..b3d650544610 100644
--- a/devel/libmsocket/Makefile
+++ b/devel/libmsocket/Makefile
@@ -27,13 +27,14 @@ PLIST_FILES=	lib/libmsocket.so \
 		include/msocket.h \
 		include/msocketutils.h
 
-CFLAGS_aarch64+=-fPIC -DPIC
-CFLAGS_amd64+=	-fPIC -DPIC
-CFLAGS_i386+=	-fPIC -DPIC
-CFLAGS_powerpc+=	-fPIC -DPIC
-CFLAGS_powerpc64+=	-fPIC -DPIC
-CFLAGS_powerpc64le+=	-fPIC -DPIC
-CFLAGS_powerpcspe+=	-fPIC -DPIC
+CFLAGS_aarch64=-fPIC -DPIC
+CFLAGS_amd64=	-fPIC -DPIC
+CFLAGS_i386=	-fPIC -DPIC
+CFLAGS_powerpc=	-fPIC -DPIC
+CFLAGS_powerpc64=	-fPIC -DPIC
+CFLAGS_powerpc64le=	-fPIC -DPIC
+CFLAGS_powerpcspe=	-fPIC -DPIC
+CFLAGS_riscv64=	-fPIC -DPIC
 
 DEBUG_CONFIGURE_ON=	--enable-debug
 


More information about the dev-commits-ports-main mailing list