Skip to content

Commit

Permalink
waifulib: fix including system includes
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Oct 11, 2019
1 parent e4bb3ec commit ee363eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/waifulib/xcompile.py
Expand Up @@ -240,7 +240,7 @@ def cflags(self, cxx = False):
if self.is_host():
cflags += [
'--sysroot=%s/sysroot' % (self.gen_gcc_toolchain_path()),
'-I%s/usr/include/' % (self.sysroot())
'-isystem', '%s/usr/include/' % (self.sysroot())
]

cflags += ['-I%s' % (self.system_stl()), '-DANDROID', '-D__ANDROID__']
Expand Down

0 comments on commit ee363eb

Please sign in to comment.