forked from pool/cmake
Accepting request 1085362 from home:Pharaoh_Atem:branches:devel:tools:building
- macros: Drop "-Wl,--no-undefined" as it breaks packages that build plugins OBS-URL: https://build.opensuse.org/request/show/1085362 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=530
This commit is contained in:
@@ -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 \
|
||||
|
Reference in New Issue
Block a user