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 Aug 22, 2024
1 parent 8f49c5c commit 03a1308
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 03a1308

Please sign in to comment.