diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-03-09 10:52:54 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-03-09 10:52:54 +0000 |
commit | 5be4109fb470f0e5e88b00d1d76bc98bc4eeecec (patch) | |
tree | 24780d935fc2727851868b10a1b5e95f514b11b3 /lang/oo2c | |
parent | fdfcb6370c02d4f3a3dd62f880a133c3a2d58736 (diff) | |
download | ports-5be4109fb470f0e5e88b00d1d76bc98bc4eeecec.tar.gz ports-5be4109fb470f0e5e88b00d1d76bc98bc4eeecec.zip |
lang/oo2c: fix build on powerpc64 elfv2
-fnested-functions is not available on GCC 10.
Notes
Notes:
svn path=/head/; revision=567919
Diffstat (limited to 'lang/oo2c')
-rw-r--r-- | lang/oo2c/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lang/oo2c/Makefile b/lang/oo2c/Makefile index ec69ccf7a7a6..43e8fb8be60f 100644 --- a/lang/oo2c/Makefile +++ b/lang/oo2c/Makefile @@ -45,10 +45,8 @@ BITS= 32 BITS= 64 .endif -.if ${ARCH} == "powerpc64" -# .if defined(PPC_ABI) && ${PPC_ABI} == ELFv1 +.if defined(PPC_ABI) && ${PPC_ABI} == ELFv1 CFLAGS+= -fnested-functions -# .endif .endif .include <bsd.port.post.mk> |