Backport 517206 | gerald | 2019-11-10 from lang/gcc10-devel, which already

landed in lang/gcc9-devel as r517355 | gerald | 2019-11-13.

  Add a new option PLUGINS that enables GCC's plugin framework. This is off
  by default for now, but something to possibly make the default after a bit
  of settling.

  I plan to backport this to lang/gcc9-devel and then lang/gcc9.

Submitted by:	David Carlier <devnexen@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D22292
This commit is contained in:
Gerald Pfeifer 2019-11-16 08:12:34 +00:00
parent 552a9f445f
commit 73ff940876
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517725

View File

@ -38,7 +38,7 @@ SSP_UNSAFE= yes
CFLAGS:= ${CFLAGS:N-mretpoline}
CXXFLAGS:= ${CXXFLAGS:N-mretpoline}
OPTIONS_DEFINE= BOOTSTRAP GRAPHITE
OPTIONS_DEFINE= BOOTSTRAP GRAPHITE PLUGINS
OPTIONS_DEFAULT= BOOTSTRAP
BOOTSTRAP_DESC= Build using a full bootstrap
GRAPHITE_DESC= Support for Graphite loop optimizations
@ -54,6 +54,8 @@ MULTILIB_CONFIGURE_ENABLE= multilib
CONFIGURE_ARGS+= --disable-multilib
.endif
PLUGINS_CONFIGURE_ENABLE= plugin
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64