scripts: waifulib: compiler_optimizations: set HAVE_OPENMP=1 define if openmp feature was enabled during the build
This commit is contained in:
parent
1545a49b4c
commit
27cab8aad5
1 changed files with 3 additions and 3 deletions
|
@ -122,9 +122,9 @@ POLLY_CFLAGS = {
|
||||||
}
|
}
|
||||||
|
|
||||||
OPENMP_CFLAGS = {
|
OPENMP_CFLAGS = {
|
||||||
'gcc': ['-fopenmp'],
|
'gcc': ['-fopenmp', '-DHAVE_OPENMP=1'],
|
||||||
'clang': ['-fopenmp'],
|
'clang': ['-fopenmp', '-DHAVE_OPENMP=1'],
|
||||||
'msvc': ['/openmp']
|
'msvc': ['/openmp', '/DHAVE_OPENMP=1']
|
||||||
}
|
}
|
||||||
|
|
||||||
OPENMP_LINKFLAGS = {
|
OPENMP_LINKFLAGS = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue