mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-21 21:57:39 +01:00
[build] Mute dllexport GCC warnings for winelib
GCC produces a lot of warnings about ignored dllimport/dllexport attributes. Detecting real problems from build output will be easier with this warnings turned off. `man winegcc` > The dllimport/dllexport attributes are not supported at the moment, > due to lack of support for these features in the ELF version of gcc. `man gcc` > -Wno-attributes > Do not warn if an unexpected "__attribute__" is used, > such as unrecognized attributes, function attributes applied to variables, etc. > This does not stop errors for incorrect use of supported attributes.
This commit is contained in:
parent
f75e3ad13f
commit
9220835171
@ -8,7 +8,7 @@ strip = 'strip'
|
||||
winelib = true
|
||||
|
||||
c_args=['-m64']
|
||||
cpp_args=['-m64', '--no-gnu-unique']
|
||||
cpp_args=['-m64', '--no-gnu-unique', '-Wno-attributes']
|
||||
cpp_link_args=['-m64', '-mwindows']
|
||||
|
||||
[host_machine]
|
||||
|
Loading…
x
Reference in New Issue
Block a user