SHA256
3
0
forked from pool/cmake

Accepting request 1085457 from devel:tools:building

OBS-URL: https://build.opensuse.org/request/show/1085457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=233
This commit is contained in:
Dominique Leuenberger 2023-05-09 11:07:46 +00:00 committed by Git OBS Bridge
commit 2333094365
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 8 01:18:45 UTC 2023 - Neal Gompa <ngompa@opensuse.org>
- macros: Drop "-Wl,--no-undefined" as it breaks packages that
build plugins
-------------------------------------------------------------------
Fri Apr 21 19:24:16 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -40,9 +40,9 @@
-DCMAKE_C_FLAGS="${CFLAGS:-%optflags}" \\\
-DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags}" \\\
-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_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" \
-DLIB_SUFFIX=64 \\\
%endif \