svn commit: r567919 - head/lang/oo2c
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Mar 9 10:52:55 UTC 2021
Author: pkubaj
Date: Tue Mar 9 10:52:54 2021
New Revision: 567919
URL: https://svnweb.freebsd.org/changeset/ports/567919
Log:
lang/oo2c: fix build on powerpc64 elfv2
-fnested-functions is not available on GCC 10.
Modified:
head/lang/oo2c/Makefile
Modified: head/lang/oo2c/Makefile
==============================================================================
--- head/lang/oo2c/Makefile Tue Mar 9 10:38:33 2021 (r567918)
+++ head/lang/oo2c/Makefile Tue Mar 9 10:52:54 2021 (r567919)
@@ -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>
More information about the svn-ports-head
mailing list