[packages/openjdk8] use -mx32 on x32

atler atler at pld-linux.org
Mon Aug 2 13:13:13 CEST 2021


commit 0f9df9084f9d11eaf22769ba0a5e995f709cbd41
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Aug 2 13:12:41 2021 +0200

    use -mx32 on x32

 x32.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/x32.patch b/x32.patch
index 236974a..5b3dcd2 100644
--- a/x32.patch
+++ b/x32.patch
@@ -78,3 +78,15 @@
  
    # 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjdk8.git/commitdiff/0f9df9084f9d11eaf22769ba0a5e995f709cbd41



More information about the pld-cvs-commit mailing list