diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-05-24 11:45:26 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-05-24 13:46:03 +0200 |
commit | cb7a39ac64253a6d0e11cfe1837ad3da2465c38e (patch) | |
tree | 300c05bf767b1e1bf6bd8b0f95911fb79054c2b5 /external/expat/StaticLibrary_expat.mk | |
parent | d6865e5cec34f5f521e0f9ec4ef3c7ad04503cfe (diff) |
disable warnings in external libs
As in, really disable, so that they do not even show. This moreover
avoids tons of D9025 warnings from MSVC about overriding -W4 with -w.
Change-Id: Ia2e72fd72d883d91bdd89e467ee42f259e2ae033
Reviewed-on: https://gerrit.libreoffice.org/72899
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'external/expat/StaticLibrary_expat.mk')
-rw-r--r-- | external/expat/StaticLibrary_expat.mk | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/external/expat/StaticLibrary_expat.mk b/external/expat/StaticLibrary_expat.mk index 31d03d03102e..65b1dcb5568a 100644 --- a/external/expat/StaticLibrary_expat.mk +++ b/external/expat/StaticLibrary_expat.mk @@ -9,7 +9,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,expat)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,expat)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,expat)) $(eval $(call gb_StaticLibrary_use_unpacked,expat,expat)) @@ -42,11 +42,6 @@ $(eval $(call gb_StaticLibrary_add_defs,expat,\ )) endif -# suppress warning spam -$(eval $(call gb_StaticLibrary_add_cflags,expat,\ - -w \ -)) - $(eval $(call gb_StaticLibrary_add_generated_cobjects,expat,\ UnpackedTarball/expat/lib/loadlibrary \ UnpackedTarball/expat/lib/xmlparse \ |