cctools (package): remove fstack-protector-all for Fujitsu compiler (#17656)
The Fujitsu C compiler does not support the "fstack-protector-all" option.
This commit is contained in:
parent
a88675ffa9
commit
1fe07891e3
1 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,10 @@ def patch(self):
|
|||
f = 'dttools/src/memfdexe.c'
|
||||
kwargs = {'ignore_absent': False, 'backup': True, 'string': True}
|
||||
filter_file(before, after, f, **kwargs)
|
||||
if self.spec.satisfies('%fj'):
|
||||
makefiles = ['chirp/src/Makefile', 'grow/src/Makefile']
|
||||
for m in makefiles:
|
||||
filter_file('-fstack-protector-all', '', m)
|
||||
|
||||
def configure_args(self):
|
||||
args = []
|
||||
|
|
Loading…
Reference in a new issue