]> git.pld-linux.org Git - packages/openjdk8.git/commitdiff
use -mx32 on x32 auto/th/openjdk8-1.8.0.302-1
authorJan Palus <atler@pld-linux.org>
Mon, 2 Aug 2021 11:12:41 +0000 (13:12 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 2 Aug 2021 11:12:41 +0000 (13:12 +0200)
x32.patch

index 236974aa75640611e75c1c0f0019f844c38e7c0e..5b3dcd207eb71af7c9a6def4263816bf5955945f 100644 (file)
--- a/x32.patch
+++ b/x32.patch
  
    # Compile the C code into an executable.
    $(GENSRC_X11WRAPPERS_TMP)/sizer.%.exe: $(GENSRC_X11WRAPPERS_TMP)/sizer.%.c
  
    # Compile the C code into an executable.
    $(GENSRC_X11WRAPPERS_TMP)/sizer.%.exe: $(GENSRC_X11WRAPPERS_TMP)/sizer.%.c
+--- jdk8u-jdk8u302-ga/common/autoconf/flags.m4.orig    2021-06-28 20:48:48.000000000 +0200
++++ jdk8u-jdk8u302-ga/common/autoconf/flags.m4 2021-08-02 13:10:55.178538598 +0200
+@@ -905,6 +905,9 @@
+     s390)
+       ZERO_ARCHFLAG="${COMPILER_TARGET_BITS_FLAG}31"
+       ;;
++    x32)
++      ZERO_ARCHFLAG="${COMPILER_TARGET_BITS_FLAG}x32"
++      ;;
+     *)
+       ZERO_ARCHFLAG="${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
+   esac
This page took 0.148392 seconds and 4 git commands to generate.