From a4dc770f74a98395f3f32a4e4ac6fe8462b743cb Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 10 Nov 2019 13:10:55 +0000 Subject: [PATCH] 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/gcc10-devel/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/gcc10-devel/Makefile b/lang/gcc10-devel/Makefile index 88d1ee9dac3d..249d73ce311e 100644 --- a/lang/gcc10-devel/Makefile +++ b/lang/gcc10-devel/Makefile @@ -43,7 +43,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 @@ -59,6 +59,8 @@ MULTILIB_CONFIGURE_ENABLE= multilib CONFIGURE_ARGS+= --disable-multilib .endif +PLUGINS_CONFIGURE_ENABLE= plugin + .include .if ${ARCH} == amd64