forked from pool/cmake
Accepting request 1139746 from home:lnussel:branches:devel:tools:building
- Revert "-Wl,--no-undefined" as it still breaks packages (boo#1218620) OBS-URL: https://build.opensuse.org/request/show/1139746 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=567
This commit is contained in:
parent
00a1d89f7e
commit
bd0a74fa85
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 18 15:00:58 UTC 2024 - Ludwig Nussel <lnussel@suse.com>
|
||||||
|
|
||||||
|
- Revert "-Wl,--no-undefined" as it still breaks packages (boo#1218620)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 17 19:54:04 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>
|
Wed Jan 17 19:54:04 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>
|
||||||
|
|
||||||
|
@ -43,9 +43,9 @@
|
|||||||
-DCMAKE_C_FLAGS="${CFLAGS:-%optflags}" \\\
|
-DCMAKE_C_FLAGS="${CFLAGS:-%optflags}" \\\
|
||||||
-DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags}" \\\
|
-DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags}" \\\
|
||||||
-DCMAKE_Fortran_FLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" \\\
|
-DCMAKE_Fortran_FLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" \\\
|
||||||
-DCMAKE_EXE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \\\
|
-DCMAKE_EXE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,-z,now" \\\
|
||||||
-DCMAKE_MODULE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed" \\\
|
-DCMAKE_MODULE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed" \\\
|
||||||
-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,-z,now" \\\
|
||||||
%if "%{?_lib}" == "lib64" \
|
%if "%{?_lib}" == "lib64" \
|
||||||
-DLIB_SUFFIX=64 \\\
|
-DLIB_SUFFIX=64 \\\
|
||||||
%endif \
|
%endif \
|
||||||
|
Loading…
Reference in New Issue
Block a user