s390x-opt
authorOpenJDK Team <openjdk-21@packages.debian.org>
Wed, 22 Jan 2025 07:58:11 +0000 (08:58 +0100)
committerMatthias Klose <doko@ubuntu.com>
Wed, 22 Jan 2025 07:58:11 +0000 (08:58 +0100)
Gbp-Pq: Name s390x-opt.diff

make/autoconf/flags-cflags.m4

index ffbf61ea552a4296bcc88d372c9577688f1c7b06..cc9385c5c012e95743f39be810e316678e5e9c30 100644 (file)
@@ -821,6 +821,9 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
       fi
     elif test "x$FLAGS_CPU" = xs390x; then
       $1_CFLAGS_CPU="-mbackchain -march=z10"
+      if test "x$VENDOR_FLAGS_CPU" != x; then
+        $1_CFLAGS_CPU="-mbackchain $VENDOR_FLAGS_CPU"
+      fi
     fi
 
     if test "x$FLAGS_CPU_ARCH" != xarm &&  test "x$FLAGS_CPU_ARCH" != xppc; then