From: Jan Palus Date: Mon, 2 Aug 2021 11:12:41 +0000 (+0200) Subject: use -mx32 on x32 X-Git-Tag: auto/th/openjdk8-1.8.0.302-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=0f9df9084f9d11eaf22769ba0a5e995f709cbd41;p=packages%2Fopenjdk8.git use -mx32 on x32 --- 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