Skip to content
Snippets Groups Projects
Commit 2c230725 authored by Samuli Piippo's avatar Samuli Piippo
Browse files

qt5: add workaround for gcc's internal compiler error


Crosscompilation of qdoc causes gcc internal compiler error on
some platforms. Removing the c++11 option from the compilation
prevents this.

Change-Id: I0ad5832859f8c79dba401ecc1d9026559a1ec324
Reviewed-by: default avataraavit <eirik.aavitsland@theqtcompany.com>
parent 1fc629a2
No related branches found
No related tags found
No related merge requests found
From 75840ad8b40068b70792a27f1fdc7cccf3d28f7c Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@theqtcompany.com>
Date: Wed, 16 Sep 2015 13:30:38 +0300
Subject: [PATCH] qdoc: workaround for gcc's ICE
Remove c++11 option from compilation to prevent gcc's internal compiler error:
in add_stores, at var-tracking.c:6000
Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
---
src/tools/qdoc/qdoc.pro | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/tools/qdoc/qdoc.pro b/src/tools/qdoc/qdoc.pro
index f0df113..a847482 100644
--- a/src/tools/qdoc/qdoc.pro
+++ b/src/tools/qdoc/qdoc.pro
@@ -4,6 +4,8 @@
requires(!contains(QT_DISABLED_FEATURES, dom))
}
+QMAKE_CXXFLAGS_CXX11 =
+
option(host_build)
QT = core xml
--
1.9.1
......@@ -38,6 +38,7 @@ FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
SRC_URI += " \
file://oe-device-extra.pri \
file://0001-qdoc-workaround-for-gcc-s-ICE.patch \
"
do_configure_prepend() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment