Fix build with lld 21

Add `--extern-only` option for `nm` to ignore local symbols
Take the local change from https://android-review.git.corp.google.com/c/platform/external/jetbrains/JetBrainsRuntime/+/2983672

Bug: b/311424182
Change-Id: Ib7c1abcd9ed3b94d1f58d379c3377bfce2210c9c
1 file changed
tree: 4bbd00c98d9626f28bc9c01cbcc74149a22de1fd
  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.