summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/boost/package.py2
1 files changed, 1 insertions, 1 deletions
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 @@ class Boost(Package):
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)