summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2019-06-12 16:32:53 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2019-06-12 23:15:42 +0200
commit66b856dc557168a5839c256e7134c895985a908a (patch)
tree3105f7fa0b38e03683ece6fb6788662546005b89 /shell
parent90be6c5cbde6d86da10960e2fee13164c43b9d14 (diff)
Use 'gb_Library_add_cxxflags' for '-include chrono'
Rationale is the same as in described in commit 4aa60490622cc10f8d3a31489c62a5622d240c83 ("gbuild: treat $({QT,KF}5_CFLAGS) as cxxflags, not defines"). Change-Id: I1253e33118956b72561bd56bbc668ca345006c37 Reviewed-on: https://gerrit.libreoffice.org/73700 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'shell')
-rw-r--r--shell/Library_kde5be.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/Library_kde5be.mk b/shell/Library_kde5be.mk
index 39fdaf884409..a89892dee17f 100644
--- a/shell/Library_kde5be.mk
+++ b/shell/Library_kde5be.mk
@@ -32,7 +32,7 @@ $(eval $(call gb_Library_add_exception_objects,kde5be1,\
# Workaround for clang+icecream (clang's -frewrite-includes
# doesn't handle Qt5's QT_HAS_INCLUDE that Qt5 uses for <chrono>).
ifeq ($(COM_IS_CLANG),TRUE)
-$(eval $(call gb_Library_add_defs,kde5be1, \
+$(eval $(call gb_Library_add_cxxflags,kde5be1, \
-include chrono \
))
endif