autotools.py: removed some options from libtool only for Fujitsu. (#19217)
This commit is contained in:
parent
93f8b14de5
commit
db16f3e0d4
1 changed files with 6 additions and 1 deletions
|
@ -212,7 +212,12 @@ def _patch_libtool(self, libtool_path):
|
||||||
.format(self.compiler.cc_pic_flag),
|
.format(self.compiler.cc_pic_flag),
|
||||||
libtool_path)
|
libtool_path)
|
||||||
if self.spec.satisfies('%fj'):
|
if self.spec.satisfies('%fj'):
|
||||||
fs.filter_file(r'/\S*/fjhpctag.o', '', libtool_path)
|
fs.filter_file('-nostdlib', '', libtool_path)
|
||||||
|
rehead = r'/\S*/'
|
||||||
|
objfile = ['fjcrt0.o', 'fjlang08.o', 'fjomp.o',
|
||||||
|
'crti.o', 'crtbeginS.o', 'crtendS.o']
|
||||||
|
for o in objfile:
|
||||||
|
fs.filter_file(rehead + o, '', libtool_path)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def configure_directory(self):
|
def configure_directory(self):
|
||||||
|
|
Loading…
Reference in a new issue