> Please review this small build fix. > > `configure` reports `default` instead of `musl` for targets ending in > `linux-musleabi` or `linux-musleabihf`. > > **Fix:** > > `PLATFORM_EXTRACT_VARS_FROM_LIBC` now uses `*linux*-musl*` instead of > `*linux*-musl` to accept the ABI suffix. > > **Testing:** > > - `make test-make`: passed. > - Added libc detection coverage to the existing Autoconf tests (`linux-musl`, > `linux-musleabi`, `linux-musleabihf`, `linux-gnu`). > - ARM32 musl cross-configure with an explicit > `--openjdk-target=armv7l-unknown-linux-musleabihf`: reported `musl` after the > fix. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Yunbo Zhang has updated the pull request incrementally with one additional commit since the last revision: 8387719: Building the JDK: running `bash configure` does not detect musl Also recognize GNU libc names with ABI suffixes and extend the configure tests. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33300/files - new: https://git.openjdk.org/jdk/pull/33300/files/1c8d8def..4e764fe9 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33300&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33300&range=00-01 Stats: 5 lines in 2 files changed: 2 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/33300.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33300/head:pull/33300 PR: https://git.openjdk.org/jdk/pull/33300
