svn commit: r504631 - head/audio/infamous-plugins-lv2
Jan Beich
jbeich at FreeBSD.org
Fri Jun 21 12:59:08 UTC 2019
Mark Linimon <linimon at 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
More information about the svn-ports-all
mailing list