Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2024 21:04:27 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e99aeb77e1db - main - net/usockets: Fix build on some systems
Message-ID:  <202402032104.413L4RLB080357@gitrepo.freebsd.org>

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

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

commit e99aeb77e1dba8c70707f0a6e519f7cab461bd0a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-02-03 21:03:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-02-03 21:04:25 +0000

    net/usockets: Fix build on some systems
    
    ... by adding -fPIC.
    
    Reported by:    fallout
---
 net/usockets/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/usockets/Makefile b/net/usockets/Makefile
index 0fecfee0aa8d..3d7dca6cfb18 100644
--- a/net/usockets/Makefile
+++ b/net/usockets/Makefile
@@ -20,6 +20,7 @@ GH_ACCOUNT=	uNetworking
 GH_PROJECT=	uSockets
 
 MAKE_ARGS=	WITH_OPENSSL=1
+CFLAGS+=	-fPIC # -fPIC is required for the build to succeed, see https://github.com/uNetworking/uSockets/issues/217
 CXXFLAGS+=	-fPIC
 
 ALL_TARGET=	default



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