Backport 517206 | gerald | 2019-11-10 from lang/gcc10-devel:

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-13 00:12:29 +00:00
parent 88a7e873c7
commit 820d935afd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517355

View File

@ -45,7 +45,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
@ -61,6 +61,8 @@ MULTILIB_CONFIGURE_ENABLE= multilib
CONFIGURE_ARGS+= --disable-multilib
.endif
PLUGINS_CONFIGURE_ENABLE= plugin
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64