mirror of https://gitlab.com/ita1024/waf.git
c_config: parse_flags: add support for parsing '-isystem' and friends
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
This commit is contained in:
parent
b5ceb9ef12
commit
53387d8eff
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue