ANDROID: use --sysroot for clang

-isysroot only affects headers, we want to load libraries from the
sysroot too.

Bug: 302395149
Test: toolchain/jdk/build/build-openjdk21-linux.sh
Change-Id: I66c3cc5b9662509607012ae8ecd33e63509395e4
1 file changed
tree: fde373665896befee848ddd2d1ff1d096f6b9b3d
  1. .github/
  2. .jcheck/
  3. bin/
  4. doc/
  5. make/
  6. src/
  7. test/
  8. .gitattributes
  9. .gitignore
  10. ADDITIONAL_LICENSE_INFO
  11. ASSEMBLY_EXCEPTION
  12. configure
  13. CONTRIBUTING.md
  14. LICENSE
  15. Makefile
  16. METADATA
  17. MODULE_LICENSE_GPL
  18. OWNERS
  19. README.md
README.md

Welcome to the JDK!

For build instructions please see the online documentation, or either of these files:

See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.