s390x-opt
authorOpenJDK Team <openjdk-17@packages.debian.org>
Sat, 16 Sep 2023 11:35:34 +0000 (12:35 +0100)
committerMatthias Klose <doko@ubuntu.com>
Sat, 16 Sep 2023 11:35:34 +0000 (12:35 +0100)
Gbp-Pq: Name s390x-opt.diff

make/autoconf/flags-cflags.m4

index 4f86ed5a4bc0db03211a328d6fdff8141b20cb57..d1e8bbfde808f527e3acf864946faa9bcf6c3e9e 100644 (file)
@@ -739,6 +739,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