mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-04 01:29:26 +01:00
[build] Use -mpreferred-stack-boundary=2 on 32-bit x86
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
This commit is contained in:
parent
a3ba8fb4dc
commit
84ccad3528
@ -80,12 +80,16 @@ if platform == 'windows'
|
|||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Enable stdcall fixup on 32-bit
|
|
||||||
if cpu_family == 'x86'
|
if cpu_family == 'x86'
|
||||||
|
# Enable stdcall fixup on 32-bit
|
||||||
link_args += [
|
link_args += [
|
||||||
'-Wl,--enable-stdcall-fixup',
|
'-Wl,--enable-stdcall-fixup',
|
||||||
'-Wl,--kill-at',
|
'-Wl,--kill-at',
|
||||||
]
|
]
|
||||||
|
# Fix stack alignment issues with mingw on 32-bit
|
||||||
|
compiler_args += [
|
||||||
|
'-mpreferred-stack-boundary=2'
|
||||||
|
]
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
# setup file alignment + enable PDB output for MSVC builds
|
# setup file alignment + enable PDB output for MSVC builds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user