diff --git a/var/spack/repos/builtin/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py index 79d91b99ba..4f0655dbac 100644 --- a/var/spack/repos/builtin/packages/boost/package.py +++ b/var/spack/repos/builtin/packages/boost/package.py @@ -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)