From 691c27a94ada37df7e8aaeed8e9f3f0c51de3d3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Sat, 6 Jun 2020 05:54:00 +0200
Subject: [PATCH] software/theia: use same gcc config as erp5

So that parts are shared when we install ERP5 in theia
---
 software/theia/software.cfg | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/software/theia/software.cfg b/software/theia/software.cfg
index 21b0d06e2..655650277 100644
--- a/software/theia/software.cfg
+++ b/software/theia/software.cfg
@@ -13,6 +13,7 @@ extends =
    ../../component/java-jdk/buildout.cfg
    ../../stack/slapos.cfg
    ../../stack/monitor/buildout.cfg
+   ../../component/defaults.cfg
    ./buildout.hash.cfg
 
 parts =
@@ -23,6 +24,11 @@ parts =
 # default for slapos-standalone
 shared-part-list =
 
+# We keep the gcc part in sync with the one from erp5 software, so that when we install
+# erp5 inside theia's slapos parts can be shared.
+[gcc]
+max_version = 0
+
 
 [nodejs]
 <= nodejs-10.19.0
-- 
2.30.9