diffutils: Changed the handling of undeclared functions from warning … (#14593)
* diffutils: Changed the handling of undeclared functions from warning to error. * diffutils: Change the handling of warnings or error * Delete '-Werror=implicit-function-declaration' * Add '-Qunused-arguments'
This commit is contained in:
parent
0605fc1557
commit
492b600d29
1 changed files with 5 additions and 0 deletions
|
@ -19,3 +19,8 @@ class Diffutils(AutotoolsPackage, GNUMirrorPackage):
|
||||||
build_directory = 'spack-build'
|
build_directory = 'spack-build'
|
||||||
|
|
||||||
depends_on('libiconv')
|
depends_on('libiconv')
|
||||||
|
|
||||||
|
def setup_build_environment(self, env):
|
||||||
|
if self.spec.satisfies('%fj'):
|
||||||
|
env.append_flags('CFLAGS',
|
||||||
|
'-Qunused-arguments')
|
||||||
|
|
Loading…
Reference in a new issue