summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-06-23 17:14:30 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-06-23 17:18:37 +0200
commit10dca62dcfb3f5e1a241de905ea92aeda3fc1768 (patch)
tree286427658e92a8adc1c910fa1b6cd68c1f0fa308
parent553e0fea17507633ee53e9e0b1d3da67bcf0b3ab (diff)
downloadptxdist-10dca62dcfb3f5e1a241de905ea92aeda3fc1768.tar.gz
ptxdist-10dca62dcfb3f5e1a241de905ea92aeda3fc1768.tar.xz
qt4: blacklist TARGET_COMPILER_RECORD_SWITCHES
QtWebkit in Qt4 is affected by the same issue as QtWebkit in Qt5: When compiled with -frecord-gcc-switches, the Webkit JavaScript JIT gets confused. This can cause crashes when executing JavaScript code. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/qt4.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/qt4.make b/rules/qt4.make
index 25988381d..4b611b470 100644
--- a/rules/qt4.make
+++ b/rules/qt4.make
@@ -58,6 +58,10 @@ $(STATEDIR)/qt4.extract:
# Prepare
# ----------------------------------------------------------------------------
+# the extra section seems to confuse the Webkit JIT code
+QT4_WRAPPER_BLACKLIST := \
+ TARGET_COMPILER_RECORD_SWITCHES
+
# don't use CROSS_ENV. Qt uses mkspecs for instead.
# 'strip' is our special wrapper to avoid stripping for root-debug
QT4_ENV := $(CROSS_ENV_PKG_CONFIG) STRIP=strip MAKEFLAGS="$(PARALLELMFLAGS)"