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:
parent
ac46ecbfdc
commit
f293744565
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user