16 lines
605 B
Diff
16 lines
605 B
Diff
--- a/setup.py.old 2020-08-12 13:00:24.000000000 -0700
|
|
+++ a/setup.py 2020-08-13 14:43:57.723209700 -0700
|
|
@@ -178,9 +178,9 @@
|
|
# Set various flags for use in TBB and openmp. On OSX, also find OpenMP!
|
|
have_openmp = True
|
|
if sys.platform.startswith('win'):
|
|
- cpp11flags = []
|
|
- ompcompileflags = ['-openmp']
|
|
- omplinkflags = []
|
|
+ cpp11flags = ['-std=c++11']
|
|
+ ompcompileflags = ['-fopenmp']
|
|
+ omplinkflags = ['-fopenmp']
|
|
elif sys.platform.startswith('darwin'):
|
|
cpp11flags = ['-std=c++11']
|
|
# This is a bit unusual but necessary...
|