Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2024 12:01:32 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ba410f875bd3 - main - devel/glog: fix build on powerpc
Message-ID:  <202408041201.474C1W6x013420@gitrepo.freebsd.org>

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

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

commit ba410f875bd3cea0aa9862d99e29ef4c29f2053c
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-08-02 11:28:30 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-08-04 12:00:54 +0000

    devel/glog: fix build on powerpc
    
    In file included from /wrkdirs/usr/ports/devel/glog/work/glog-0.7.1/src/stacktrace.cc:37:
    /wrkdirs/usr/ports/devel/glog/work/glog-0.7.1/src/stacktrace_powerpc-inl.h:126:4: error: Need to specify the PPC ABI for your architecture.
      126 | #  error Need to specify the PPC ABI for your architecture.
          |    ^
    1 error generated.
---
 devel/glog/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/glog/Makefile b/devel/glog/Makefile
index 7751a837a4ac..ca09c2e4b09a 100644
--- a/devel/glog/Makefile
+++ b/devel/glog/Makefile
@@ -29,4 +29,6 @@ PLIST_SUB=	PORTVERSION=${PORTVERSION}
 GH_ACCOUNT=	google
 USE_GITHUB=	yes
 
+CXXFLAGS_powerpc=	-D_CALL_SYSV
+
 .include <bsd.port.mk>



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