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
This commit is contained in:
Tomáš Chvátal 2013-12-23 11:32:29 +00:00 committed by Git OBS Bridge
parent e6109b8597
commit 2cb3e2ac5a
2 changed files with 7 additions and 0 deletions

View File

@ -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 Thu Dec 12 12:28:46 UTC 2013 - hrvoje.senjan@gmail.com

View File

@ -390,7 +390,9 @@ echo yes | ./configure $platform \
-xsync \ -xsync \
-xinput \ -xinput \
-gtkstyle \ -gtkstyle \
%ifnarch ppc ppc64 ppc64le
-javascript-jit \ -javascript-jit \
%endif
-xcb \ -xcb \
-egl \ -egl \
-eglfs \ -eglfs \