s390x-opt
authorOpenJDK Team <openjdk-21@packages.debian.org>
Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)
committerMatthias Klose <doko@ubuntu.com>
Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)
Gbp-Pq: Name s390x-opt.diff

make/autoconf/flags-cflags.m4

index 1aa827b6139fe455da390fbab1026076a2b496c8..ad4b44f87e871515ec355f91b23299b83a16399e 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