ccroot: allow overriding the prune_flags setting

through a taskgen parameter
This commit is contained in:
Krzysztof Kosiński 2014-01-27 16:12:02 +01:00
parent 1e92b72aa6
commit 48a82dacbf
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ def propagate_uselib_vars(self):
# remove redundant values, leaving only the last instance of a flag
# leaving only the last flag is important for static libraries which depend on each other
if prune_flags:
if getattr(self, 'prune_flags', prune_flags):
for v in _vars:
uniqued = []
seen = set()