boost: Use gcc toolset for bootstrap with Fujitsu compiler. (#12876)

This commit is contained in:
t-karatsu 2019-10-04 12:20:55 +09:00 committed by Adam J. Stewart
parent 938bae1ab6
commit 46e319ecd4

View file

@ -253,7 +253,7 @@ def determine_bootstrap_options(self, spec, with_libs, options):
boost_toolset_id = self.determine_toolset(spec)
# Arm compiler bootstraps with 'gcc' (but builds as 'clang')
if spec.satisfies('%arm'):
if spec.satisfies('%arm') or spec.satisfies('%fj'):
options.append('--with-toolset=gcc')
else:
options.append('--with-toolset=%s' % boost_toolset_id)