From 2cb3e2ac5acf251466682b0e57d8132af6964f3bc289a30d3915d49720c9c994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 23 Dec 2013 11:32:29 +0000 Subject: [PATCH] Accepting request 211885 from KDE:Qt5 The libqt5-qtscript package fails to build on PowerPC, since it attempts to force building the JIT, which is not supported on PowerPC. This is done by the build scripts because the file /usr/lib64/qt5/mkspecs/qmodule.pri contains the entry JAVASCRIPTCORE_JIT = yes That file in turn is created by this package, libqt5-qtbase, which sets the JAVASCRIPTCORE_JIT entry because configure is called with the -javascript-jit option. This doesn't seem useful for platforms where the JIT is not supported, so this patch removes the option for PowerPC. - Do not force -javascript-jit on ppc platforms that do not support it. (forwarded request 211854 from uweigand) OBS-URL: https://build.opensuse.org/request/show/211885 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtbase?expand=0&rev=11 --- libqt5-qtbase.changes | 5 +++++ libqt5-qtbase.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/libqt5-qtbase.changes b/libqt5-qtbase.changes index 1dd118a..4aeecd0 100644 --- a/libqt5-qtbase.changes +++ b/libqt5-qtbase.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 12 14:54:22 UTC 2013 - uweigand@de.ibm.com + +- Do not force -javascript-jit on ppc platforms that do not support it. + ------------------------------------------------------------------- Thu Dec 12 12:28:46 UTC 2013 - hrvoje.senjan@gmail.com diff --git a/libqt5-qtbase.spec b/libqt5-qtbase.spec index e164c88..c446ad8 100644 --- a/libqt5-qtbase.spec +++ b/libqt5-qtbase.spec @@ -390,7 +390,9 @@ echo yes | ./configure $platform \ -xsync \ -xinput \ -gtkstyle \ +%ifnarch ppc ppc64 ppc64le -javascript-jit \ +%endif -xcb \ -egl \ -eglfs \