From 9220835171d401757576a9bd552bcbb22176b952 Mon Sep 17 00:00:00 2001 From: pchome Date: Thu, 16 Aug 2018 06:00:46 +0300 Subject: [PATCH] [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. --- build-wine64.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-wine64.txt b/build-wine64.txt index ba612b222..5157fe759 100644 --- a/build-wine64.txt +++ b/build-wine64.txt @@ -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]