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:
commit
5ccb74ec6c
@ -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>
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user