Sync FFLAGS and LDFLAGS in the %cmake macro with redhat-rpm-config.
This commit is contained in:
parent
5fa4687978
commit
d8fd6d266c
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: cmake
|
Name: cmake
|
||||||
Version: 2.8.6
|
Version: 2.8.6
|
||||||
Release: 0.2.rc2%{?dist}
|
Release: 0.3.rc2%{?dist}
|
||||||
Summary: Cross-platform make system
|
Summary: Cross-platform make system
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -160,6 +160,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Sep 11 2011 Ville Skyttä <ville.skytta@iki.fi> - 2.8.6-0.3.rc2
|
||||||
|
- Sync FFLAGS and LDFLAGS in the %%cmake macro with redhat-rpm-config.
|
||||||
|
|
||||||
* Tue Sep 6 2011 Orion Poplawski <orion@cora.nwra.com> - 2.8.6-0.2.rc2
|
* Tue Sep 6 2011 Orion Poplawski <orion@cora.nwra.com> - 2.8.6-0.2.rc2
|
||||||
- Update to 2.8.6 RC 2
|
- Update to 2.8.6 RC 2
|
||||||
- Drop aclocal patch
|
- Drop aclocal patch
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
%cmake \
|
%cmake \
|
||||||
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
|
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
|
||||||
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
|
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
|
||||||
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
|
FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ; \
|
||||||
|
%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
|
||||||
%__cmake \\\
|
%__cmake \\\
|
||||||
-DCMAKE_VERBOSE_MAKEFILE=ON \\\
|
-DCMAKE_VERBOSE_MAKEFILE=ON \\\
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
|
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
|
||||||
|
Loading…
Reference in New Issue
Block a user