mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 17:09:48 +00:00
d3d11: fix building with address sanitizer
When building with address sanitizer it gives next error: "gstd3d11window_corewindow.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj" Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5782>
This commit is contained in:
parent
a89f33c86c
commit
86b277fb93
1 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,9 @@ if d3d11_winapi_app
|
|||
d3d11_sources += ['gstd3d11window_corewindow.cpp',
|
||||
'gstd3d11window_swapchainpanel.cpp']
|
||||
extra_dep += [runtimeobject_lib]
|
||||
if cc.get_id() == 'msvc' and get_option('b_sanitize') == 'address'
|
||||
extra_args += ['/bigobj']
|
||||
endif
|
||||
endif
|
||||
|
||||
if d3d11_winapi_desktop
|
||||
|
|
Loading…
Reference in a new issue