diff --git a/cpu/cpujit.py b/cpu/cpujit.py
index a0bccbc21d86acf4323b26a9ed7b83a3e92068b4..789d08a641a30e590995f1a9b67def34667ef76c 100644
--- a/cpu/cpujit.py
+++ b/cpu/cpujit.py
@@ -12,7 +12,7 @@ import hashlib
 from pystencils.transformations import symbolNameToVariableName
 
 CONFIG_GCC = {
-    'compiler': 'g++-4.8',
+    'compiler': 'g++',
     'flags': '-Ofast -DNDEBUG -fPIC -shared -march=native -fopenmp',
 }
 CONFIG_INTEL = {