mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 14:52:10 +01:00
[build] Don't pass unix compiler and link args to MSVC
clang-cl accepts both style of options but these will be generally meaningless: - Static CRT is unnecessary. - File alignment will be introduced in another commit. - Wine has partial support for PDB backtrace so there is probably no need to insist on DWARF (which is unsupported by real MSVC anyway). - MSVC doesn't have the weird stdcall ordinal naming convention that necessiates fixup and kill-at.
This commit is contained in:
parent
ab6bd8b17f
commit
6faf3c1acd
@ -48,6 +48,7 @@ if platform == 'windows'
|
|||||||
'-D_WIN32_WINNT=0xa00',
|
'-D_WIN32_WINNT=0xa00',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if not dxvk_is_msvc
|
||||||
link_args += [
|
link_args += [
|
||||||
'-static',
|
'-static',
|
||||||
'-static-libgcc',
|
'-static-libgcc',
|
||||||
@ -71,6 +72,7 @@ if platform == 'windows'
|
|||||||
'-Wl,--kill-at',
|
'-Wl,--kill-at',
|
||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
lib_d3d9 = cpp.find_library('d3d9')
|
lib_d3d9 = cpp.find_library('d3d9')
|
||||||
lib_d3d11 = cpp.find_library('d3d11')
|
lib_d3d11 = cpp.find_library('d3d11')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user