diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-01-05 08:46:37 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-01-05 21:03:50 +0000 |
commit | f2937445651a7241924a1d78202ce01aa9f229c1 (patch) | |
tree | 21f6423633c8e28c116c0fe1d75dc6158f2971bd /lang/oo2c | |
parent | ac46ecbfdcc0db7c51ae946bfe350976a522659d (diff) | |
download | ports-f2937445651a7241924a1d78202ce01aa9f229c1.tar.gz ports-f2937445651a7241924a1d78202ce01aa9f229c1.zip |
lang/oo2c: fix build on armv7 and powerpc
Diffstat (limited to 'lang/oo2c')
-rw-r--r-- | lang/oo2c/Makefile | 6 |
1 files changed, 1 insertions, 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> |