Commit Graph

7 Commits

Author SHA1 Message Date
Entryhazard 8c2709a1c6 Changed visibility of the winelib build to behave more like MinGW 2019-05-13 20:37:57 +02:00
dhewg a05c93dd17 cross build cleanup (#746)
- Don't turn off warnings for winelib builds, fix them. Using __declspec on winelib builds just doesn't make sense.
- Drop the custom cross property 'winelib'. Detect it instead.
- Move the libdl dependency to the build system
- Don't run wine during mingw build process. Same as for wine builds, see 715d2571
2018-11-04 16:18:32 +01:00
Andrew Eikum bc367fd817
[vr] Load native openvr library on winelib builds 2018-10-04 12:08:12 +02:00
pchome 715d25716b [build] Don't run wine during winelib build process 2018-08-28 14:13:44 +02:00
pchome 9220835171 [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.
2018-08-16 12:39:16 +02:00
Philip Rebohle e555df93a1
[build] Improve winelib builds
Closes #513, which this is based on.
2018-07-28 15:07:36 +02:00
Jacek Caban 2fb0ccae7f [buid] Support linking system DLLs in winelib builds
find_library doesn't work when using winegcc. Specify linker command instead.
2018-07-19 08:55:34 +02:00