SHA256
1
0
forked from pool/libvmime

Accepting request 1007587 from server:mail

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1007587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvmime?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2022-10-03 11:46:37 +00:00 committed by Git OBS Bridge
commit 5ccb74ec6c
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Sep 25 18:34:03 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Force-add -fPIC under RHEL and derivatives
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jun 11 14:40:34 UTC 2022 - Jan Engelhardt <jengelh@inai.de> Sat Jun 11 14:40:34 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -98,8 +98,6 @@ make book_pdf
popd popd
%endif %endif
# for some reason I don't care researching in detail, CentOS8 dies with
# a PIC-related relocation error during cmake-configure. Hence forcing -fPIC.
%cmake \ %cmake \
-DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \ -DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
-DINCLUDE_INSTALL_DIR:PATH="%_includedir" \ -DINCLUDE_INSTALL_DIR:PATH="%_includedir" \
@ -115,9 +113,9 @@ popd
-DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \ -DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \
-DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \ -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="$cf" \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="$cf" \
-DCMAKE_CXX_FLAGS:STRING="%{?centos_version:-fPIC} " \ -DCMAKE_CXX_FLAGS:STRING="%{?redhat_version:-fPIC} %{?almalinux_version:-fPIC}" \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$cf" \ -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$cf" \
-DCMAKE_C_FLAGS:STRING="%{?centos_version:-fPIC} " \ -DCMAKE_C_FLAGS:STRING="%{?redhat_version:-fPIC} %{?almalinux_version:-fPIC}" \
-DVMIME_BUILD_DOCUMENTATION:BOOL=OFF -DVMIME_BUILD_DOCUMENTATION:BOOL=OFF
%cmake_build %cmake_build