summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordian Edenhofer2017-11-19 22:54:36 +0100
committerGordian Edenhofer2017-11-19 22:54:36 +0100
commit12edcbc00e4afaaab70dd5004c0093d7ad544eb9 (patch)
tree65df45b589eec0fe870d86de22925cbc5018f522
parentafde12fff84a97d81c4e32ff77d52825ee51e38f (diff)
downloadaur-12edcbc00e4afaaab70dd5004c0093d7ad544eb9.tar.gz
upgpkg: slurm-llnl 17.02.9.1-2
Fix runtime bug related to the usage of a hardened build environment by removing '-z,now' from the LDFLAGS and CFLAGS environment variable. upgpkg: slurm-llnl-dev 17.11.0.0rc3-2 upgpkg: slurm-llnl-git 17.11.0.0pre2.r1285.g9f8f68e3cb-1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a49d875038..0b376e29c47 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 c92821a3f8e..2888b4afbc9 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 \