c_config: parse_flags: add support for parsing '-isystem' and friends

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
This commit is contained in:
Chris Winter 2014-03-19 10:19:15 -05:00 committed by Thomas Nagy
parent b5ceb9ef12
commit 53387d8eff
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ def parse_flags(self, line, uselib_store, env=None, force_static=False, posix=No
if st == '-I' or st == '/I':
if not ot: ot = lst.pop(0)
appu('INCLUDES_' + uselib, [ot])
elif st == '-include':
elif st == '-i':
tmp = [x, lst.pop(0)]
app('CFLAGS', tmp)
app('CXXFLAGS', tmp)