s390x-opt
authorOpenJDK Team <openjdk-17@packages.debian.org>
Thu, 26 Jan 2023 10:36:16 +0000 (10:36 +0000)
committerMatthias Klose <doko@ubuntu.com>
Thu, 26 Jan 2023 10:36:16 +0000 (10:36 +0000)
Gbp-Pq: Name s390x-opt.diff

make/autoconf/flags-cflags.m4

index ea1d62685db283c445114ca43acc6c0208ad4b5c..58a9d7b6d21cf681871c81a50d1e4dcf050e1674 100644 (file)
@@ -735,6 +735,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