From a001d9970badee1b6ae42333901e9ba41fedd76f Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Thu, 23 Aug 2012 14:26:17 -0600 Subject: [PATCH] Use #global instead of #define --- openmpi.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openmpi.spec b/openmpi.spec index ef92910..c4480f2 100644 --- a/openmpi.spec +++ b/openmpi.spec @@ -3,19 +3,19 @@ %global opt_cc gcc # Optional CFLAGS to use with the specific compiler...gcc doesn't need any, # so uncomment and define to use -#define opt_cflags +#global opt_cflags %global opt_cxx g++ -#define opt_cxxflags +#global opt_cxxflags %global opt_f77 gfortran -#define opt_fflags +#global opt_fflags %global opt_fc gfortran -#define opt_fcflags +#global opt_fcflags %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} # Optional name suffix to use...we leave it off when compiling with gcc, but # for other compiled versions to install side by side, it will need a # suffix in order to keep the names from conflicting. -#define _cc_name_suffix -gcc +#global _cc_name_suffix -gcc Name: openmpi%{?_cc_name_suffix} Version: 1.6.1