libcerf:add CFLAGS for fujitsu compiler (#12990)

* libcerf:add CFLAGS for fujitsu compiler

* fix for flake8
This commit is contained in:
noguchi-k 2019-10-01 22:54:01 +09:00 committed by Adam J. Stewart
parent cfc17e9506
commit 5b4040ea36

View file

@ -25,5 +25,8 @@ def configure_args(self):
# http://clang.debian.net/status.php?version=3.8.1&key=UNUSED_FUNCTION # http://clang.debian.net/status.php?version=3.8.1&key=UNUSED_FUNCTION
if spec.satisfies('%clang'): if spec.satisfies('%clang'):
options.append('CFLAGS=-Wno-unused-function') 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 return options