PKGBUILDs/core/openssh/0001-disable-fzero-call-used-regs.patch

25 lines
770 B
Diff
Raw Normal View History

2022-02-25 05:25:43 +00:00
From cbbd348c2d2100354ccc2ba0297e3fd23d2ee6cc Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Thu, 24 Feb 2022 22:02:07 -0700
Subject: [PATCH] disable -fzero-call-used-regs
---
configure.ac | 1 -
1 file changed, 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 17fb1e60..2c06385b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -192,7 +192,6 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
# actually links. The test program compiled/linked includes a number
# of integer operations that should exercise this.
OSSH_CHECK_CFLAG_LINK([-ftrapv])
- OSSH_CHECK_CFLAG_COMPILE([-fzero-call-used-regs=all])
OSSH_CHECK_CFLAG_COMPILE([-ftrivial-auto-var-init=zero])
fi
AC_MSG_CHECKING([gcc version])
--
2.35.1