summaryrefslogtreecommitdiff
path: root/external/expat
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-05-24 11:45:26 +0200
committerLuboš Luňák <l.lunak@collabora.com>2019-05-24 13:46:03 +0200
commitcb7a39ac64253a6d0e11cfe1837ad3da2465c38e (patch)
tree300c05bf767b1e1bf6bd8b0f95911fb79054c2b5 /external/expat
parentd6865e5cec34f5f521e0f9ec4ef3c7ad04503cfe (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')
-rw-r--r--external/expat/StaticLibrary_expat.mk7
-rw-r--r--external/expat/StaticLibrary_expat_x64.mk2
2 files changed, 2 insertions, 7 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 \
diff --git a/external/expat/StaticLibrary_expat_x64.mk b/external/expat/StaticLibrary_expat_x64.mk
index 4f92d0fb284e..e5b1e51ab994 100644
--- a/external/expat/StaticLibrary_expat_x64.mk
+++ b/external/expat/StaticLibrary_expat_x64.mk
@@ -11,7 +11,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,expat_x64))
$(eval $(call gb_StaticLibrary_set_x64,expat_x64,YES))
-$(eval $(call gb_StaticLibrary_set_warnings_not_errors,expat_x64))
+$(eval $(call gb_StaticLibrary_set_warnings_disabled,expat_x64))
$(eval $(call gb_StaticLibrary_use_unpacked,expat_x64,expat))