diff --git a/component/mariadb/mariarocks.cfg b/component/mariadb/mariarocks.cfg
index a51aff8016e398184d64f5677c4546f35c5bb2b1..9bbca9490415da56a0000ecbff4a5aa397377a28 100644
--- a/component/mariadb/mariarocks.cfg
+++ b/component/mariadb/mariarocks.cfg
@@ -1,3 +1,7 @@
+[buildout]
+extends =
+  ../gcc/buildout.cfg
+
 [mariadb]
 url = https://downloads.mariadb.com/MariaDB/mariadb-10.2.6/source/mariadb-10.2.6.tar.gz
 md5sum = 3d454cdadbd3208e1c9c23e5338a62b0