[cmake] Define FCFLAGS in cmake macro
Orion Poplawski
orion at fedoraproject.org
Fri Feb 22 22:27:24 UTC 2013
commit 301a3e914af935bb7f573961b3666e74ea804db9
Author: Orion Poplawski <orion at nwra.com>
Date: Fri Feb 22 15:27:16 2013 -0700
Define FCFLAGS in cmake macro
cmake.spec | 2 ++
macros.cmake | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/cmake.spec b/cmake.spec
index a903f49..667f4e3 100644
--- a/cmake.spec
+++ b/cmake.spec
@@ -186,6 +186,8 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%changelog
+- Define FCFLAGS in cmake macro
+
* Fri Feb 8 2013 Orion Poplawski <orion at cora.nwra.com> - 2.8.10.2-4
- Add patch to use ninja-build (bug #886184)
diff --git a/macros.cmake b/macros.cmake
index 2592371..bfdadb8 100644
--- a/macros.cmake
+++ b/macros.cmake
@@ -10,6 +10,7 @@
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ; \
+ FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS ; \
%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
%__cmake \\\
-DCMAKE_VERBOSE_MAKEFILE=ON \\\
More information about the scm-commits
mailing list