svn commit: r504884 - in head/devel/xeus: . files
Alexey Dokuchaev
danfe at freebsd.org
Sun Jun 23 10:47:38 UTC 2019
On Sat, Jun 22, 2019 at 07:19:39PM +0000, Mark Linimon wrote:
> New Revision: 504884
> URL: https://svnweb.freebsd.org/changeset/ports/504884
>
> Log:
> For GCC-based systems, edit top-level CMakeLists.txt to eliminate
> either of the following two problems:
>
> g++8: error: unrecognized command line option '-march=native'
> g++8: error: unrecognized argument in option '-mtune=generic'
>
> [...]
>
> -.include <bsd.port.mk>
> +.include <bsd.port.pre.mk>
> +
> +.if ${CHOSEN_COMPILER_TYPE} == gcc
> +EXTRA_PATCHES= ${FILESDIR}/extra-patch-CMakeLists.txt
> +.endif
Why conditional patch? We typically abstain from any -march/-mtune
with any compiler since it might result that the package built on our
cluster would segfault or otherwise work badly on some user's machine.
./danfe
More information about the svn-ports-head
mailing list