From 48938f542c8af034fa657f79b5a56158ca9653fa Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 12 Jul 2016 14:21:34 -0700 Subject: [PATCH] openmpi.spec: don't export FFLAGS The Open MPI configure script has long-since only paid attention to FCFLAGS. Indeed, it will warn if you set FFLAGS or F77FLAGS. So remove them from the spec file. Signed-off-by: Jeff Squyres --- contrib/dist/linux/openmpi.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contrib/dist/linux/openmpi.spec b/contrib/dist/linux/openmpi.spec index cddf6c5b92..370e5dd5fc 100644 --- a/contrib/dist/linux/openmpi.spec +++ b/contrib/dist/linux/openmpi.spec @@ -9,7 +9,7 @@ # University of Stuttgart. All rights reserved. # Copyright (c) 2004-2005 The Regents of the University of California. # All rights reserved. -# Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved. +# Copyright (c) 2006-2016 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2013 Mellanox Technologies, Inc. # All rights reserved. # Copyright (c) 2015 Research Organization for Information Science @@ -436,9 +436,8 @@ fi CFLAGS="%{?cflags:%{cflags}}%{!?cflags:$RPM_OPT_FLAGS}" CXXFLAGS="%{?cxxflags:%{cxxflags}}%{!?cxxflags:$RPM_OPT_FLAGS}" -FFLAGS="%{?f77flags:%{f77flags}}%{!?f7flags:$RPM_OPT_FLAGS}" FCFLAGS="%{?fcflags:%{fcflags}}%{!?fcflags:$RPM_OPT_FLAGS}" -export CFLAGS CXXFLAGS F77FLAGS FCFLAGS +export CFLAGS CXXFLAGS FCFLAGS %configure %{configure_options} %{__make} %{?mflags}