From 2c3fee1e04f3111ad07bcdd2b5d3a0cb8353ac73 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 21 Mar 2020 14:51:28 +0000 Subject: [PATCH] community/sundials to 5.1.0-2 --- community/sundials/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/community/sundials/PKGBUILD b/community/sundials/PKGBUILD index b1731c370..97f1aac90 100644 --- a/community/sundials/PKGBUILD +++ b/community/sundials/PKGBUILD @@ -6,7 +6,7 @@ pkgname=sundials pkgver=5.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Suite of nonlinear differential/algebraic equation solvers" arch=(x86_64) url="https://computation.llnl.gov/casc/sundials/main.html" @@ -25,6 +25,7 @@ build() { [[ $CARCH != "aarch64" ]] && CONFIG="-DSUNDIALS_INDEX_TYPE=int32_t" cmake ../$pkgname-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_C_FLAGS="${CFLAGS} -fPIC" \ -DMPI_ENABLE=ON \ -DPTHREAD_ENABLE=ON \ -DOPENMP_ENABLE=ON \