Commits

Michał Górny  committed f51b292

Auto-add instances of disabled USE_EXPAND flags.

  • Participants
  • Parent commits f1c638b

Comments (0)

Files changed (1)

File lib/flaggie/makeconf.py

 				else:
 					break
 
+		# Add disabled USE_EXPAND flags.
+		for t in reversed(self._flattokens):
+			if t.use_expanded:
+				for f in self._useexpanded.pop(t.use_expanded):
+					t.append('-%s' % f)
+				t.modified = False
+
 		self._parsed = True
 
 	def add_expand(self, var, flagcache):