rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / runtime / openjdk-22 / patches / sparc-bitness.patch
bloba7824d1e53665592747632b92642f13a5f7a9502
1 --- a/make/autoconf/flags.m4 ::
2 +++ b/make/autoconf/flags.m4 ::
3 @@ -263,12 +263,13 @@
5 # For xlc, the word size flag is required for correct behavior.
6 # For clang/gcc, the flag is only strictly required for reduced builds, but
7 - # set it always where possible (x86 and ppc).
8 + # set it always where possible (x86, sparc and ppc).
9 if test "x$TOOLCHAIN_TYPE" = xxlc; then
10 MACHINE_FLAG="-q${OPENJDK_TARGET_CPU_BITS}"
11 elif test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
12 if test "x$OPENJDK_TARGET_CPU_ARCH" = xx86 &&
13 test "x$OPENJDK_TARGET_CPU" != xx32 ||
14 + test "x$OPENJDK_TARGET_CPU_ARCH" = xsparc ||
15 test "x$OPENJDK_TARGET_CPU_ARCH" = xppc; then
16 MACHINE_FLAG="-m${OPENJDK_TARGET_CPU_BITS}"