summaryrefslogtreecommitdiffstats
path: root/rules/host-qt5.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-01-11 15:06:39 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-01-12 14:47:51 +0100
commitc1d4fe82e2455ba624a3de2d228f3cc70225399c (patch)
treebf09385ff0743405706c4e5674caa084d13f7e4a /rules/host-qt5.make
parentdc92ac7984002bb593fc0797936dfd8e2137a30b (diff)
downloadptxdist-c1d4fe82e2455ba624a3de2d228f3cc70225399c.tar.gz
ptxdist-c1d4fe82e2455ba624a3de2d228f3cc70225399c.tar.xz
qt5: fix build with icecc 1.2
Qt5 uses some #pragma directives in the header files, which trigger a bug in the -fdirectives-only handling of cpp, which is used by icecc 1.2 by default. Work around this by disabling remote cpp runs and do all the preprocessing on the local build host. Reported-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-qt5.make')
-rw-r--r--rules/host-qt5.make3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/host-qt5.make b/rules/host-qt5.make
index ec865a516..2a3d09262 100644
--- a/rules/host-qt5.make
+++ b/rules/host-qt5.make
@@ -150,6 +150,9 @@ HOST_QT5_CONF_OPT += \
HOST_QT5_QT_CONF := $(PTXDIST_SYSROOT_HOST)/bin/qt5/qt.conf
+HOST_QT5_COMPILE_ENV := \
+ ICECC_REMOTE_CPP=0
+
$(STATEDIR)/host-qt5.install.post:
@$(call targetinfo)
@$(call world/install.post, HOST_QT5)