Kaydet (Commit) 0a203393 authored tarafından Luboš Luňák's avatar Luboš Luňák

workaround to make Qt5 code build with Clang+icecream (#2)

This fixes and extends dad7c221 .

Change-Id: I29352d4b4809aa254e832a932bfeb595d065565b
Reviewed-on: https://gerrit.libreoffice.org/67368
Tested-by: Jenkins
Reviewed-by: 's avatarLuboš Luňák <l.lunak@collabora.com>
üst 91fcd999
......@@ -29,4 +29,12 @@ $(eval $(call gb_Library_add_exception_objects,kde5be1,\
shell/source/backends/kde5be/kde5backend \
))
# 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, \
-include chrono \
))
endif
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
......@@ -97,7 +97,7 @@ endif
# 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,vclplug_qt5, \
$(eval $(call gb_Library_add_defs,vclplug_kde5, \
-include chrono \
))
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment