mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Change the order of including system include paths.
PiperOrigin-RevId: 596657109 Change-Id: I4a50253561cf251b271623c607769e14e66a3de2
This commit is contained in:
parent
a56660f542
commit
9a06f3ac0c
|
@ -146,10 +146,10 @@ def _sapi_interface_impl(ctx):
|
|||
|
||||
# Disable warnings in parsed code
|
||||
extra_flags.append("--extra-arg=-Wno-everything")
|
||||
extra_flags += ["--extra-arg=-isystem{}".format(d) for d in cpp_toolchain.built_in_include_directories]
|
||||
extra_flags += ["--extra-arg=-D{}".format(d) for d in cc_ctx.defines.to_list()]
|
||||
extra_flags += ["--extra-arg=-isystem{}".format(i) for i in cc_ctx.system_includes.to_list()]
|
||||
extra_flags += ["--extra-arg=-iquote{}".format(i) for i in quote_includes]
|
||||
extra_flags += ["--extra-arg=-isystem{}".format(d) for d in cpp_toolchain.built_in_include_directories]
|
||||
else:
|
||||
append_all(extra_flags, "-D", cc_ctx.defines.to_list())
|
||||
append_all(extra_flags, "-isystem", cc_ctx.system_includes.to_list())
|
||||
|
|
Loading…
Reference in New Issue
Block a user