Anonymous committed 87f5ef5

ccroot: allow overriding the prune_flags setting
through a taskgen parameter

  • Participants
  • Parent commits 03fb087

Comments (0)

Files changed (1)


 	# 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()