SHA256
3
0
forked from pool/cmake

Accepting request 788373 from home:simotek:branches:devel:tools:building

- Many Leap packages don't build without -DCMAKE_SKIP_RPATH:BOOL=ON
  so leave this change to the next major version of Leap / SLE

OBS-URL: https://build.opensuse.org/request/show/788373
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=403
This commit is contained in:
Martin Pluskal 2020-03-26 08:02:45 +00:00 committed by Git OBS Bridge
parent 8604c47835
commit 51d9cc63af
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 23 09:46:17 UTC 2020 - Simon Lees <sflees@suse.de>
- Many Leap packages don't build without -DCMAKE_SKIP_RPATH:BOOL=ON
so leave this change to the next major version of Leap / SLE
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 22 06:18:20 UTC 2020 - Christoph G <foss@grueninger.de> Sun Mar 22 06:18:20 UTC 2020 - Christoph G <foss@grueninger.de>

View File

@ -33,6 +33,9 @@
-DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \\\ -DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \\\
%if "%{?_lib}" == "lib64" \ %if "%{?_lib}" == "lib64" \
-DLIB_SUFFIX=64 \\\ -DLIB_SUFFIX=64 \\\
%endif \
%if "%suse_version" <= 1500 \
-DCMAKE_SKIP_RPATH:BOOL=ON \\\
%endif \ %endif \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \\\ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \\\
-DBUILD_SHARED_LIBS:BOOL=ON \\\ -DBUILD_SHARED_LIBS:BOOL=ON \\\