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 = {
|
||||
'gcc': ['-fopenmp'],
|
||||
'clang': ['-fopenmp'],
|
||||
'msvc': ['/openmp']
|
||||
'gcc': ['-fopenmp', '-DHAVE_OPENMP=1'],
|
||||
'clang': ['-fopenmp', '-DHAVE_OPENMP=1'],
|
||||
'msvc': ['/openmp', '/DHAVE_OPENMP=1']
|
||||
}
|
||||
|
||||
OPENMP_LINKFLAGS = {
|
||||
|
|
Loading…
Add table
Reference in a new issue