diff --git a/var/spack/repos/builtin/packages/glib/package.py b/var/spack/repos/builtin/packages/glib/package.py index fe57bc83b60..d27fd86b199 100644 --- a/var/spack/repos/builtin/packages/glib/package.py +++ b/var/spack/repos/builtin/packages/glib/package.py @@ -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,