summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomoki, Karatsu <49965247+t-karatsu@users.noreply.github.com>2020-10-12 21:42:49 +0900
committerGitHub <noreply@github.com>2020-10-12 14:42:49 +0200
commitdb16f3e0d41ea63e3701001a9c45a9bb93d915e9 (patch)
treec559e837b07ffa85fc4610b89a76f4b2e616d4b1
parent93f8b14de5ff5b75b097904573ed9124ee246b62 (diff)
downloadspack-db16f3e0d41ea63e3701001a9c45a9bb93d915e9.tar.gz
spack-db16f3e0d41ea63e3701001a9c45a9bb93d915e9.tar.bz2
spack-db16f3e0d41ea63e3701001a9c45a9bb93d915e9.tar.xz
spack-db16f3e0d41ea63e3701001a9c45a9bb93d915e9.zip
autotools.py: removed some options from libtool only for Fujitsu. (#19217)
-rw-r--r--lib/spack/spack/build_systems/autotools.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/spack/spack/build_systems/autotools.py b/lib/spack/spack/build_systems/autotools.py
index 1f490058de..50f0208741 100644
--- a/lib/spack/spack/build_systems/autotools.py
+++ b/lib/spack/spack/build_systems/autotools.py
@@ -212,7 +212,12 @@ class AutotoolsPackage(PackageBase):
.format(self.compiler.cc_pic_flag),
libtool_path)
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
def configure_directory(self):