summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoguchi-k <55966120+noguchi-k@users.noreply.github.com>2019-10-01 22:54:01 +0900
committerAdam J. Stewart <ajstewart426@gmail.com>2019-10-01 08:54:01 -0500
commit5b4040ea3638eee23298dabd1b821cc0451f8280 (patch)
tree532680963fa2cebc9618599c3de7bdcca1764113
parentcfc17e95062a8d974bd95b881070199ffcb343f9 (diff)
downloadspack-5b4040ea3638eee23298dabd1b821cc0451f8280.tar.gz
spack-5b4040ea3638eee23298dabd1b821cc0451f8280.tar.bz2
spack-5b4040ea3638eee23298dabd1b821cc0451f8280.tar.xz
spack-5b4040ea3638eee23298dabd1b821cc0451f8280.zip
libcerf:add CFLAGS for fujitsu compiler (#12990)
* libcerf:add CFLAGS for fujitsu compiler * fix for flake8
-rw-r--r--var/spack/repos/builtin/packages/libcerf/package.py3
1 files changed, 3 insertions, 0 deletions
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 @@ class Libcerf(AutotoolsPackage):
# 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