2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00

Various fixes in toolset.py

This commit is contained in:
Aaron Boman
2016-10-09 00:09:02 -05:00
parent 8c406a88cf
commit 0228b8ed7d

View File

@@ -17,7 +17,7 @@ import bjam
from b2.util import cached, qualify_jam_action, is_iterable_typed, is_iterable
from b2.util.utility import *
from b2.util import bjam_signature
from b2.util import bjam_signature, sequence
from b2.manager import get_manager
__re_split_last_segment = re.compile (r'^(.+)\.([^\.])*')
@@ -356,11 +356,11 @@ def __handle_flag_value (manager, value, ps):
else:
result.extend(value.split ('&&'))
else:
result.append (ungristed)
result.append (value)
else:
result.append (value)
return result
return sequence.unique(result, stable=True)
def __add_flag (rule_or_module, variable_name, condition, values):
""" Adds a new flag setting with the specified values.