diff --git a/macros.openmpi b/macros.openmpi index 9b114de..05e613f 100644 --- a/macros.openmpi +++ b/macros.openmpi @@ -1,7 +1,6 @@ %_openmpi_load \ . /etc/profile.d/modules.sh; \ - module load mpi/openmpi-%{_arch}; \ - export CFLAGS="$CFLAGS %{optflags}"; + module load mpi/openmpi-%{_arch}; %_openmpi_unload \ . /etc/profile.d/modules.sh; \ module unload mpi/openmpi-%{_arch}; diff --git a/openmpi.spec b/openmpi.spec index 949e6cc..51679c8 100644 --- a/openmpi.spec +++ b/openmpi.spec @@ -22,7 +22,7 @@ Name: openmpi%{?_cc_name_suffix} Version: 1.10.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Open Message Passing Interface Group: Development/Libraries License: BSD, MIT and Romio @@ -270,6 +270,9 @@ make check %changelog +* Tue Oct 6 2015 Orion Poplawski - 1.10.0-3 +- Do not set CFLAGS in %%_openmpi_load + * Wed Sep 16 2015 Orion Poplawski - 1.10.0-2 - Add patch to add needed opal/util/argv.h includes