mirror of https://gitlab.com/ita1024/waf.git
ccroot: allow overriding the prune_flags setting
through a taskgen parameter
This commit is contained in:
parent
1e92b72aa6
commit
48a82dacbf
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue