summaryrefslogtreecommitdiff
path: root/external/clucene
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/clucene
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/clucene')
-rw-r--r--external/clucene/Library_clucene.mk11
1 files changed, 1 insertions, 10 deletions
diff --git a/external/clucene/Library_clucene.mk b/external/clucene/Library_clucene.mk
index f04961398797..a6dc8576f0b1 100644
--- a/external/clucene/Library_clucene.mk
+++ b/external/clucene/Library_clucene.mk
@@ -13,7 +13,7 @@ $(eval $(call gb_Library_use_external,clucene,zlib))
$(eval $(call gb_Library_use_unpacked,clucene,clucene))
-$(eval $(call gb_Library_set_warnings_not_errors,clucene))
+$(eval $(call gb_Library_set_warnings_disabled,clucene))
$(eval $(call gb_Library_set_include,clucene,\
-I$(call gb_UnpackedTarball_get_dir,clucene)/inc/internal \
@@ -35,15 +35,6 @@ $(eval $(call gb_Library_add_defs,clucene, \
-D_HAS_AUTO_PTR_ETC=1 \
))
-# clucene is riddled with warnings... let's spare use
-# the pointless spamming
-$(eval $(call gb_Library_add_cxxflags,clucene,\
- -w \
-))
-$(eval $(call gb_Library_add_cflags,clucene,\
- -w \
-))
-
ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_libs,clucene,\
-lm \