summaryrefslogtreecommitdiffstats
path: root/external/libcmis
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-11-01 17:07:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-11-02 10:14:19 +0100
commitcd472d1d8489f30797f47d3f6dafede28c1feb90 (patch)
tree70a07dff0256ee0089d2024a7500cb92f02f4946 /external/libcmis
parentQt5 constify some functions to fix build (diff)
downloadcore-cd472d1d8489f30797f47d3f6dafede28c1feb90.tar.gz
core-cd472d1d8489f30797f47d3f6dafede28c1feb90.zip
Compile as C++2a, where available
Change-Id: I6382be559a0c70d899d48d11e6f9b10ef270c9a4 Reviewed-on: https://gerrit.libreoffice.org/62744 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external/libcmis')
-rw-r--r--external/libcmis/StaticLibrary_libcmis.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/libcmis/StaticLibrary_libcmis.mk b/external/libcmis/StaticLibrary_libcmis.mk
index 652ece120a35..94bd7fbcac4a 100644
--- a/external/libcmis/StaticLibrary_libcmis.mk
+++ b/external/libcmis/StaticLibrary_libcmis.mk
@@ -17,7 +17,7 @@ ifeq ($(COM_IS_CLANG),TRUE)
# Also avoid -Wdynamic-exception-spec errors in C++17 mode.
$(eval $(call gb_StaticLibrary_add_cxxflags,libcmis,\
-Wno-error=c++11-narrowing \
- $(if $(filter -std=gnu++17 -std=gnu++1z -std=c++17 -std=c++1z, \
+ $(if $(filter -std=gnu++2a -std=c++2a -std=gnu++17 -std=gnu++1z -std=c++17 -std=c++1z, \
$(CXXFLAGS_CXX11)), \
-Wno-error=dynamic-exception-spec) \
))