summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <suraia@ikkoku.de>2018-11-28 10:06:17 +0100
committerAxel Huebl <axel.huebl@plasma.ninja>2018-11-28 10:06:17 +0100
commit5cea4a75d70b5dbfedb081f486b64ba9878b04c9 (patch)
treeedcca20b72d52c29a95de16e523d82e05547400c
parente4e980ee979b386cdd7fba835a34d0d964f73fe8 (diff)
downloadspack-5cea4a75d70b5dbfedb081f486b64ba9878b04c9.tar.gz
spack-5cea4a75d70b5dbfedb081f486b64ba9878b04c9.tar.bz2
spack-5cea4a75d70b5dbfedb081f486b64ba9878b04c9.tar.xz
spack-5cea4a75d70b5dbfedb081f486b64ba9878b04c9.zip
glib: disable SELinux explicitly (#9956)
-rw-r--r--var/spack/repos/builtin/packages/glib/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/glib/package.py b/var/spack/repos/builtin/packages/glib/package.py
index fe57bc83b6..d27fd86b19 100644
--- a/var/spack/repos/builtin/packages/glib/package.py
+++ b/var/spack/repos/builtin/packages/glib/package.py
@@ -73,6 +73,8 @@ class Glib(AutotoolsPackage):
os.path.basename(self.spec['python'].command.path))
)
args.extend(self.enable_or_disable('tracing'))
+ # SELinux is not available in Spack, so glib should not use it.
+ args.append('--disable-selinux')
# glib should not use the globally installed gtk-doc. Otherwise,
# gtk-doc can fail with Python errors such as "ImportError: No module
# named site". This is due to the fact that Spack sets PYTHONHOME,