From f22c805ec4e5f30d8252d8cea9994b9394d078e2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 24 Jun 2020 12:22:23 +0200 Subject: mpich2: 1.5-12 -> 1.5-12 --- mpich2/PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/mpich2/PKGBUILD b/mpich2/PKGBUILD index d3015740d..d06bc00cb 100644 --- a/mpich2/PKGBUILD +++ b/mpich2/PKGBUILD @@ -40,13 +40,14 @@ build() { # CFLAGS etc are normally written into the wrapper compilers. This # gives surprising results, e.g. when the user wants to compile their # program without optimization. - export MPICH2LIB_CFLAGS="$CFLAGS"; unset CFLAGS - export MPICH2LIB_CXXFLAGS="$CXXFLAGS"; unset CXXFLAGS - export MPICH2LIB_FFLAGS="$FFLAGS"; unset FFLAGS - export MPICH2LIB_F90FLAGS="$F90FLAGS"; unset F90FLAGS - export MPICH2LIB_LDFLAGS="$LDFLAGS"; unset LDFLAGS + export MPICHLIB_CFLAGS="${CFLAGS}"; unset CFLAGS + export MPICHLIB_CXXFLAGS="${CXXFLAGS}"; unset CXXFLAGS + export MPICHLIB_CPPFLAGS="${CPPFLAGS}"; unset CPPFLAGS + export MPICHLIB_FFLAGS="${FFLAGS}"; unset FFLAGS + export MPICHLIB_FCFLAGS="${FCFLAGS}"; unset FCFLAGS + export MPICHLIB_LDFLAGS="${LDFLAGS}"; unset LDFLAGS - ./configure --prefix=/opt/$pkgname --enable-shared --enable-sharedlibs=gcc \ + ./configure --prefix=/usr --enable-shared --enable-sharedlibs=gcc \ --enable-error-checking=runtime --enable-error-messages=all \ --enable-timer-type=clock_gettime \ --with-pm=hydra:gforker:mpd --with-python=python2 \ -- cgit v1.2.3-54-g00ecf