Accepting request 248060 from GNOME:Next

- Pass -DCMAKE_{EXE,MODULE,SHARED}_LINKER_FLAGS="-Wl,--as-needed
  -Wl,-z,now" to cmake call: cmake changed the default to not
  accept libraries to have undefined symbols (-Wl,--no-undefined).
  In this case though, it is understood and expected, so we remove
  --no-undefined from the FLAGS.

OBS-URL: https://build.opensuse.org/request/show/248060
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/webkit2gtk3?expand=0&rev=2
This commit is contained in:
Bjørn Lie 2014-09-08 16:59:00 +00:00 committed by Git OBS Bridge
parent 68a96f6335
commit f66b332a46
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 8 16:54:04 UTC 2014 - dimstar@opensuse.org
- Pass -DCMAKE_{EXE,MODULE,SHARED}_LINKER_FLAGS="-Wl,--as-needed
-Wl,-z,now" to cmake call: cmake changed the default to not
accept libraries to have undefined symbols (-Wl,--no-undefined).
In this case though, it is understood and expected, so we remove
--no-undefined from the FLAGS.
-------------------------------------------------------------------
Wed Aug 13 16:47:40 UTC 2014 - dimstar@opensuse.org

View File

@ -216,7 +216,10 @@ mkdir build
%cmake \
-DCMAKE_BUILD_TYPE=Release \
-DLIBEXEC_INSTALL_DIR=%{_libexecdir}/libwebkit2gtk%{_wk2sover} \
-DPORT=GTK
-DPORT=GTK \
-DCMAKE_EXE_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"
make %{?_smp_mflags}
%install