diff --git a/component/proxysql/buildout.cfg b/component/proxysql/buildout.cfg
index c5296db378aac91ac701628a1062ba80b86dacae..ba3d38c09772fe83b7c93c219d3142fc9f4a52a7 100644
--- a/component/proxysql/buildout.cfg
+++ b/component/proxysql/buildout.cfg
@@ -17,10 +17,14 @@ extends =
   ../perl/buildout.cfg
 # https://github.com/libinjection/libinjection/issues/4
   ../python-2.7/buildout.cfg
+  ../defaults.cfg
 
 parts =
   proxysql
 
+[gcc]
+max_version = 11
+
 [proxysql]
 recipe = slapos.recipe.cmmi
 shared = true