glib: disable SELinux explicitly (#9956)

This commit is contained in:
Michael Kuhn 2018-11-28 10:06:17 +01:00 committed by Axel Huebl
parent e4e980ee97
commit 5cea4a75d7

View File

@ -73,6 +73,8 @@ def configure_args(self):
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,