From 73ff940876f3f1b2318f16ad6fcf19529e174ba3 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 16 Nov 2019 08:12:34 +0000 Subject: [PATCH] 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 Differential Revision: https://reviews.freebsd.org/D22292 --- lang/gcc9/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/gcc9/Makefile b/lang/gcc9/Makefile index 868651384298..b22d039fb1fb 100644 --- a/lang/gcc9/Makefile +++ b/lang/gcc9/Makefile @@ -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 .if ${ARCH} == amd64