From 03244e9647e8523982e9b796cc05dc460d8e45ac Mon Sep 17 00:00:00 2001 From: Martin Ejdestig Date: Mon, 3 Dec 2018 06:16:20 +0100 Subject: qtscript: disable LTO on ARM Building QtScript with GCC 7.3 for ARM with LTO results in a lot of undefined references to JIT stubs in src/3rdparty/javascriptcore. Looks like a GCC LTO bug when building for ARM. Task-number: QTBUG-71602 Change-Id: I7cdd4e5e6289e6e56466b8f3692ba04c42e73183 Reviewed-by: Samuli Piippo --- meta-boot2qt/recipes-qt/qt5/qtscript_git.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644 meta-boot2qt/recipes-qt/qt5/qtscript_git.bbappend diff --git a/meta-boot2qt/recipes-qt/qt5/qtscript_git.bbappend b/meta-boot2qt/recipes-qt/qt5/qtscript_git.bbappend new file mode 100644 index 0000000..cf63e98 --- /dev/null +++ b/meta-boot2qt/recipes-qt/qt5/qtscript_git.bbappend @@ -0,0 +1 @@ +EXTRA_QMAKEVARS_PRE_append_arm = " CONFIG-=ltcg" -- cgit v1.2.3-54-g00ecf