CrayPE_binutils package fix for CCE (#30338)
This commit is contained in:
parent
c06f69d0bf
commit
f40780310b
@ -169,6 +169,11 @@ def flag_handler(self, name, flags):
|
||||
elif name == 'cflags':
|
||||
if self.spec.satisfies('@:2.34 %gcc@10:'):
|
||||
iflags.append('-fcommon')
|
||||
if self.spec.satisfies('%cce'):
|
||||
iflags.append('-fPIC -fcommon')
|
||||
elif name == 'ldflags':
|
||||
if self.spec.satisfies('%cce'):
|
||||
iflags.append('-Wl,-z,notext')
|
||||
return (iflags, None, flags)
|
||||
|
||||
def test(self):
|
||||
|
Loading…
Reference in New Issue
Block a user