boost: fix cxxstd=default (#8438)
This commit is contained in:
parent
4ec3cb1ddb
commit
d943754e92
@ -329,7 +329,9 @@ def determine_b2_options(self, spec, options):
|
|||||||
|
|
||||||
# Deal with C++ standard.
|
# Deal with C++ standard.
|
||||||
if spec.satisfies('@1.66:'):
|
if spec.satisfies('@1.66:'):
|
||||||
options.append('cxxstd={0}'.format(spec.variants['cxxstd'].value))
|
if spec.variants['cxxstd'].value != 'default':
|
||||||
|
options.append('cxxstd={0}'.format(
|
||||||
|
spec.variants['cxxstd'].value))
|
||||||
else: # Add to cxxflags for older Boost.
|
else: # Add to cxxflags for older Boost.
|
||||||
flag = self.cxxstd_to_flag(spec.variants['cxxstd'].value)
|
flag = self.cxxstd_to_flag(spec.variants['cxxstd'].value)
|
||||||
if flag:
|
if flag:
|
||||||
|
Loading…
Reference in New Issue
Block a user