Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2024 21:04:53 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: f2937445651a - main - lang/oo2c: fix build on armv7 and powerpc
Message-ID:  <202401052104.405L4r5Y012511@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=f2937445651a7241924a1d78202ce01aa9f229c1

commit f2937445651a7241924a1d78202ce01aa9f229c1
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-01-05 08:46:37 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-01-05 21:03:50 +0000

    lang/oo2c: fix build on armv7 and powerpc
---
 lang/oo2c/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/lang/oo2c/Makefile b/lang/oo2c/Makefile
index acda810164fc..04c31557fc4f 100644
--- a/lang/oo2c/Makefile
+++ b/lang/oo2c/Makefile
@@ -37,14 +37,10 @@ post-patch:
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == i386
+.if ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc
 BITS=		32
 .else
 BITS=		64
 .endif
 
-.if defined(PPC_ABI) && ${PPC_ABI} == ELFv1
-CFLAGS+=	-fnested-functions
-.endif
-
 .include <bsd.port.post.mk>



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