diff --git a/setup.py b/setup.py index 869029e..a348dba 100755 --- a/setup.py +++ b/setup.py @@ -27,7 +27,9 @@ def get_numpy_include_dirs(): package_version = str(lcl['version']) del lcl -cxxflags = ['-std=c++11'] +cxxflags = [] +if get_config_var('CMPLR_CLASS') in ('gcc', 'clang'): + cxxflags += ['-std=c++11'] ldflags = [] import sys import platform