Skip to content

Commit

Permalink
Re-add std c++14
Browse files Browse the repository at this point in the history
  • Loading branch information
Zack Singer committed Aug 15, 2024
1 parent 179116c commit b7c4995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# Determine which compiler is being used to build the C/C++ modules
compiler_type = distutils.ccompiler.get_default_compiler()
if compiler_type in ("unix", "mingw32"):
compiler_flags = ['-O3', '-ftree-vectorize', '-Wall', '-funroll-loops']
compiler_flags = ['-O3', '-ftree-vectorize', '-Wall', '-funroll-loops', '--std=c++14']
if not sys.platform.startswith('win'):
compiler_flags.append('-fPIC')
elif compiler_type == "msvc":
Expand Down

0 comments on commit b7c4995

Please sign in to comment.