diff --git a/var/spack/repos/builtin/packages/libcerf/package.py b/var/spack/repos/builtin/packages/libcerf/package.py index 8a203f5ddd..1451bbe52b 100644 --- a/var/spack/repos/builtin/packages/libcerf/package.py +++ b/var/spack/repos/builtin/packages/libcerf/package.py @@ -25,5 +25,8 @@ def configure_args(self): # http://clang.debian.net/status.php?version=3.8.1&key=UNUSED_FUNCTION if spec.satisfies('%clang'): options.append('CFLAGS=-Wno-unused-function') + # fujitsu compiler has a error about unused functions too. + if spec.satisfies('%fj'): + options.append('CFLAGS=-Wno-unused-function') return options