summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a49d875038d..0b376e29c47a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = slurm-llnl-dev
pkgdesc = Simple Linux Utility for Resource Management (development version)
pkgver = 17.11.0.0rc3
- pkgrel = 1
+ pkgrel = 2
url = https://www.schedmd.com
install = slurm-llnl-dev.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index c92821a3f8ec..2888b4afbc92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=17.11.0.0rc3
# Hyphens (-) are prohibited however they are used by the package author
# therefore it is necessary to invoke ${pkgver} like ${pkgver//./-}
# this will substitute any full stops (.) with hyphens
-pkgrel=1
+pkgrel=2
pkgdesc="Simple Linux Utility for Resource Management (development version)"
arch=('i686' 'x86_64' 'armv7h')
url="https://www.schedmd.com"
@@ -56,6 +56,10 @@ build() {
#
# Read https://slurm.schedmd.com/quickstart_admin.html for more information
+ # Slurm requires a relaxed build environment, see https://bugs.schedmd.com/show_bug.cgi?id=2443
+ export CFLAGS="${CFLAGS//-z,now/-z,lazy}"
+ export LDFLAGS="${LDFLAGS//-z,now/-z,lazy}"
+
./autogen.sh
./configure \
--prefix=/usr \