boost: Don't use pre-compiled headers for Fujitsu compiler (#16914)

* boost: Dopn't use pre compile header.

* move %fj.
This commit is contained in:
Toyohisa Kameyama 2020-06-07 23:39:53 +09:00 committed by GitHub
parent 33923320a8
commit b00f97f7cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -398,7 +398,7 @@ def determine_b2_options(self, spec, options):
# and at least in clang 3.9 still fails to build
# http://www.boost.org/build/doc/html/bbv2/reference/precompiled_headers.html
# https://svn.boost.org/trac/boost/ticket/12496
if spec.satisfies('%clang'):
if spec.satisfies('%clang') or spec.satisfies('%fj'):
options.extend(['pch=off'])
if '+clanglibcpp' in spec:
cxxflags.append('-stdlib=libc++')