Accepting request 256044 from openSUSE:Factory:PowerPC

- Disable JIT on Power architectures 
  (-DEANBLE_JIT=OFF -DENABLE_YARR_JIT=0)

OBS-URL: https://build.opensuse.org/request/show/256044
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/webkit2gtk3?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2014-10-13 20:17:07 +00:00 committed by Git OBS Bridge
parent b3c5cd79d6
commit 7421226959
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 13 14:59:24 UTC 2014 - dvaleev@suse.com
- Disable JIT on Power architectures
(-DEANBLE_JIT=OFF -DENABLE_YARR_JIT=0)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 25 08:13:58 UTC 2014 - dimstar@opensuse.org Thu Sep 25 08:13:58 UTC 2014 - dimstar@opensuse.org

View File

@ -210,10 +210,16 @@ more.
%build %build
# Use linker flags to reduce memory consumption # Use linker flags to reduce memory consumption
%global optflags %(echo %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads | sed 's/-g /-g1 /') %global optflags %(echo %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads | sed 's/-g /-g1 /')
%ifarch ppc ppc64 ppc64le
%global optflags %{optflags} -DENABLE_YARR_JIT=0
%endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DLIBEXEC_INSTALL_DIR=%{_libexecdir}/libwebkit2gtk%{_wk2sover} \ -DLIBEXEC_INSTALL_DIR=%{_libexecdir}/libwebkit2gtk%{_wk2sover} \
-DPORT=GTK \ -DPORT=GTK \
%ifarch ppc ppc64 ppc64le
-DENABLE_JIT=OFF \
%endif
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \ -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now"