Skip to content

Commit

Permalink
pass sysroot to clang for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mukilan committed Dec 2, 2023
1 parent 8d9212d commit 2956f1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/servo/command_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ def build_android_env_if_needed(self, env: Dict[str, str]):
env['LLVM_CONFIG_PATH'] = to_ndk_bin("llvm-config")
env['HARFBUZZ_SYS_NO_PKG_CONFIG'] = "true"
env['RUST_FONTCONFIG_DLOPEN'] = "on"
env["BINDGEN_EXTRA_CLANG_ARGS"] = f"--sysroot={env['ANDROID_SYSROOT']} -I{arch_include}"
# A cheat-sheet for some of the build errors caused by getting the search path wrong...
#
# fatal error: 'limits' file not found
Expand Down

0 comments on commit 2956f1d

Please sign in to comment.