提交 66764e48 编写于 作者: C Caoruihong

chore: compiler's std include as a system include path

use -isystem cflags to use compiler's std include
Signed-off-by: NCaoruihong <crh.cao@huawei.com>
Change-Id: If1f8e5d3bb8090397885fa1f35ae893e5d212565
上级 def22d3f
......@@ -142,7 +142,11 @@ config("as_objs_libc_flags") {
config("std_include") {
std_include = exec_script("//build/lite/run_shell_cmd.py", [ "$cc -print-file-name=include" ], "trim string")
include_dirs = [ std_include ]
cflags = [
"-isystem",
std_include,
]
asmflags = cflags
}
config("public") {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册