diff --git a/setup.py b/setup.py
index 1d735904cc533f3f39405bd1a9d8285b3f2a59e3..3d2ddd0e9d359374abebb2ee2330381000dfa738 100644
--- a/setup.py
+++ b/setup.py
@@ -38,7 +38,7 @@ def get_config_schema():
             IncludeDir, LibraryDir, Libraries, \
             Switch, StringListOption
 
-    default_cxxflags = ['-std=c++0x']
+    default_cxxflags = ['-std=gnu++11']
 
     if 'darwin' in sys.platform:
         import platform