- Also pass -Wl,-z,now lets see if that is passable :)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=170
This commit is contained in:
Tomáš Chvátal 2014-08-20 10:46:19 +00:00 committed by Git OBS Bridge
parent b391c89a1a
commit 303c3d7aff
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 20 10:45:49 UTC 2014 - tchvatal@suse.com
- Also pass -Wl,-z,now lets see if that is passable :)
-------------------------------------------------------------------
Mon Aug 18 23:09:38 UTC 2014 - hrvoje.senjan@gmail.com

View File

@ -20,9 +20,9 @@
-DCMAKE_C_FLAGS="${CFLAGS:-%optflags} -DNDEBUG" \\\
-DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags} -DNDEBUG" \\\
-DCMAKE_Fortran_FLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}} -DNDEBUG" \\\
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined" \\\
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined" \\\
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined" \\\
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \\\
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \\\
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \\\
%if "%{?_lib}" == "lib64" \
-DLIB_SUFFIX=64 \\\
%endif \
@ -36,10 +36,10 @@
-DCMAKE_USER_MAKE_RULES_OVERRIDE="%{_datadir}/cmake/Modules/opensuse_rules.cmake"
%make_jobs \
%{__make} %{?_smp_mflags} VERBOSE=1
%__make %{?_smp_mflags} VERBOSE=1
%cmake_install \
make VERBOSE=1 DESTDIR=%{buildroot} install/fast -C build \
%__make VERBOSE=1 DESTDIR=%{buildroot} install/fast -C build
%ctest \
cd build \