summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-24 12:22:23 +0200
committerErich Eckner <git@eckner.net>2020-06-24 12:22:23 +0200
commitf22c805ec4e5f30d8252d8cea9994b9394d078e2 (patch)
tree85fc91426d95e711a6489b23ae7282102a51d28c
parent1eef1021a9545e94be5c94215d8dbac7fd3f45bd (diff)
downloadarchlinuxewe-f22c805ec4e5f30d8252d8cea9994b9394d078e2.tar.xz
mpich2: 1.5-12 -> 1.5-12
-rw-r--r--mpich2/PKGBUILD13
1 files 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 \