mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
scripts: waifulib: compiler_optimizations: set HAVE_OPENMP=1 define if openmp feature was enabled during the build
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user