libcerf:add CFLAGS for fujitsu compiler (#12990)
* libcerf:add CFLAGS for fujitsu compiler * fix for flake8
This commit is contained in:
parent
cfc17e9506
commit
5b4040ea36
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue