1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

lang/oo2c: fix build on armv7 and powerpc

This commit is contained in:
Piotr Kubaj 2024-01-05 09:46:37 +01:00
parent ac46ecbfdc
commit f293744565

View File

@ -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>