clang on windows support

This commit is contained in:
wuggy 2026-09-10 08:32:59 -07:00
commit 1d44f05fba
22 changed files with 208 additions and 65 deletions

View file

@ -47,6 +47,9 @@ if CONFIG['CC_TYPE'] == 'gcc':
OS_LIBS += ['gomp']
if CONFIG['OS_ARCH'] == 'WINNT':
OS_LIBS += ['dl']
elif CONFIG['CLANG_CL']:
# clang-cl lowers OpenMP pragmas to the LLVM OpenMP runtime.
CXXFLAGS += ['-fopenmp']
DEFINES['BUILDING_SOUNDTOUCH'] = 1