diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/util-linux-uuid/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/util-linux-uuid/package.py b/var/spack/repos/builtin/packages/util-linux-uuid/package.py index fef7347c7f..c4b86089d4 100644 --- a/var/spack/repos/builtin/packages/util-linux-uuid/package.py +++ b/var/spack/repos/builtin/packages/util-linux-uuid/package.py @@ -46,4 +46,7 @@ class UtilLinuxUuid(AutotoolsPackage): '--enable-libuuid', '--disable-bash-completion', ] + # Fixes #31123. + if self.spec.satisfies('%intel'): + config_args.append('CFLAGS=-restrict') return config_args |