Date: Fri, 21 Jun 2019 14:59:03 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: Mark Linimon <linimon@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r504631 - head/audio/infamous-plugins-lv2 Message-ID: <d0j7-yu08-wny@FreeBSD.org> In-Reply-To: <201906201521.x5KFLfZ3045705@repo.freebsd.org> (Mark Linimon's message of "Thu, 20 Jun 2019 15:21:41 %2B0000 (UTC)") References: <201906201521.x5KFLfZ3045705@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Linimon <linimon@FreeBSD.org> writes: > Author: linimon > Date: Thu Jun 20 15:21:40 2019 > New Revision: 504631 > URL: https://svnweb.freebsd.org/changeset/ports/504631 > > Log: > Patch out -Og flag in src/*/CMakeLists.txt to fix build on GCC-based > systems such as powerpc64: > > cc1: invalid option argument '-Og' [...] > +.if ${CHOSEN_COMPILER_TYPE} == gcc > + @${REINPLACE_CMD} -e 's| -Og"|"|' \ > + ${WRKSRC}/src/*/CMakeLists.txt > +.endif -Og is supported by GCC, just not by the ancient one in base. ;) However, removing -Og (and -g) can be done on every architecture because it'd enforce "respect CFLAGS" policy. https://www.freebsd.org/doc/en/books/porters-handbook/dads-cflags.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d0j7-yu08-wny>