Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2021 10:52:54 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567919 - head/lang/oo2c
Message-ID:  <202103091052.129Aqsxm098229@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103091052.129Aqsxm098229>