autotools.py: fix the list of objects to be removed from libtool (Fujitsu). (#19303)

This commit is contained in:
Tomoki, Karatsu 2020-10-15 02:01:49 +09:00 committed by GitHub
parent a9bc5f7751
commit 72f431b67b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,7 +227,7 @@ def _patch_libtool(self, libtool_path):
if self.spec.satisfies('%fj'):
fs.filter_file('-nostdlib', '', libtool_path)
rehead = r'/\S*/'
objfile = ['fjcrt0.o', 'fjlang08.o', 'fjomp.o',
objfile = ['fjhpctag.o', 'fjcrt0.o', 'fjlang08.o', 'fjomp.o',
'crti.o', 'crtbeginS.o', 'crtendS.o']
for o in objfile:
fs.filter_file(rehead + o, '', libtool_path)