SHA256
3
0
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:
Dirk Mueller 2024-01-19 09:12:43 +00:00 committed by Git OBS Bridge
parent 00a1d89f7e
commit bd0a74fa85
2 changed files with 7 additions and 2 deletions

View File

@ -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>

View File

@ -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 \