Skip to content

Commit

Permalink
"-std=c++11" only for gcc/clang
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver committed Sep 16, 2024
1 parent 16b1c98 commit b13046a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b13046a

Please sign in to comment.