diff options
-rw-r--r-- | var/spack/repos/builtin/packages/diffutils/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/diffutils/package.py b/var/spack/repos/builtin/packages/diffutils/package.py index b87c9174d9..c8f2dca83f 100644 --- a/var/spack/repos/builtin/packages/diffutils/package.py +++ b/var/spack/repos/builtin/packages/diffutils/package.py @@ -19,3 +19,8 @@ class Diffutils(AutotoolsPackage, GNUMirrorPackage): build_directory = 'spack-build' depends_on('libiconv') + + def setup_build_environment(self, env): + if self.spec.satisfies('%fj'): + env.append_flags('CFLAGS', + '-Qunused-arguments') |