summaryrefslogtreecommitdiff
path: root/external/pdfium/Library_pdfium.mk
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/pdfium/Library_pdfium.mk
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/pdfium/Library_pdfium.mk')
-rw-r--r--external/pdfium/Library_pdfium.mk10
1 files changed, 1 insertions, 9 deletions
diff --git a/external/pdfium/Library_pdfium.mk b/external/pdfium/Library_pdfium.mk
index acc2f7d38d84..c24894304078 100644
--- a/external/pdfium/Library_pdfium.mk
+++ b/external/pdfium/Library_pdfium.mk
@@ -11,7 +11,7 @@ $(eval $(call gb_Library_Library,pdfium))
$(eval $(call gb_Library_use_unpacked,pdfium,pdfium))
-$(eval $(call gb_Library_set_warnings_not_errors,pdfium))
+$(eval $(call gb_Library_set_warnings_disabled,pdfium))
$(eval $(call gb_Library_set_precompiled_header,pdfium,$(SRCDIR)/external/pdfium/inc/pch/precompiled_pdfium))
@@ -33,14 +33,6 @@ $(eval $(call gb_Library_add_defs,pdfium,\
-DWIN32_LEAN_AND_MEAN \
))
-# Don't show warnings upstream doesn't care about.
-$(eval $(call gb_Library_add_cxxflags,pdfium,\
- -w \
-))
-$(eval $(call gb_Library_add_cflags,pdfium,\
- -w \
-))
-
$(eval $(call gb_Library_set_generated_cxx_suffix,pdfium,cpp))
# pdfium