Yet another way to pass -DBOOST_LIB_INSTALL_DIR to cmake
This commit is contained in:
parent
50e7fa2daf
commit
646ad8dd4f
10
boost.spec
10
boost.spec
@ -23,7 +23,7 @@ Name: boost
|
|||||||
Summary: The free peer-reviewed portable C++ source libraries
|
Summary: The free peer-reviewed portable C++ source libraries
|
||||||
Version: 1.46.1
|
Version: 1.46.1
|
||||||
%define version_enc 1_46_1
|
%define version_enc 1_46_1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: Boost
|
License: Boost
|
||||||
|
|
||||||
# The CMake build framework (set of CMakeLists.txt and module.cmake files) is
|
# The CMake build framework (set of CMakeLists.txt and module.cmake files) is
|
||||||
@ -439,10 +439,10 @@ sed 's/_FEDORA_SONAME/%{sonamever}/' %{PATCH2} | %{__patch} -p0 --fuzz=0
|
|||||||
( echo ============================= build serial ==================
|
( echo ============================= build serial ==================
|
||||||
mkdir serial
|
mkdir serial
|
||||||
cd serial
|
cd serial
|
||||||
|
export CXXFLAGS="-DBOOST_IOSTREAMS_USE_DEPRECATED %{optflags}"
|
||||||
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo %{boost_testflags} \
|
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo %{boost_testflags} \
|
||||||
-DENABLE_SINGLE_THREADED=YES -DINSTALL_VERSIONED=OFF \
|
-DENABLE_SINGLE_THREADED=YES -DINSTALL_VERSIONED=OFF \
|
||||||
-DWITH_MPI=OFF \
|
-DWITH_MPI=OFF \
|
||||||
-DCMAKE_CXX_FLAGS="%{optflags} -DBOOST_IOSTREAMS_USE_DEPRECATED" \
|
|
||||||
..
|
..
|
||||||
make VERBOSE=1 %{?_smp_mflags}
|
make VERBOSE=1 %{?_smp_mflags}
|
||||||
)
|
)
|
||||||
@ -840,6 +840,12 @@ find $RPM_BUILD_ROOT%{_includedir}/ \( -name '*.pl' -o -name '*.sh' \) -exec %{_
|
|||||||
%{_bindir}/bjam
|
%{_bindir}/bjam
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 4 2011 Petr Machata <pmachata@redhat.com> - 1.46.1-2
|
||||||
|
- Yet another way to pass -DBOOST_LIB_INSTALL_DIR to cmake. Passing
|
||||||
|
via CMAKE_CXX_FLAGS for some reason breaks when rpm re-quotes the
|
||||||
|
expression as a result of %%{optflags} expansion.
|
||||||
|
- Related: #667294
|
||||||
|
|
||||||
* Sun Mar 13 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.46.1-1
|
* Sun Mar 13 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.46.1-1
|
||||||
- Merged the latest changes from the bug-fix release of Boost-1.46
|
- Merged the latest changes from the bug-fix release of Boost-1.46
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user