[openssh-commits] [openssh] branch master updated: remove all instances of -pie from LDFLAGS
git+noreply at mindrot.org
git+noreply at mindrot.org
Thu Apr 3 09:11:13 AEDT 2025
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
The following commit(s) were added to refs/heads/master by this push:
new f80fb819e remove all instances of -pie from LDFLAGS
f80fb819e is described below
commit f80fb819e5521e13f167edbcc3eed66e22ad0c2a
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Thu Apr 3 09:10:19 2025 +1100
remove all instances of -pie from LDFLAGS
Previously only the first instance of this flag was removed.
Unbreaks build on OpenSUSE Tumbleweed. Patch from Antonio Larrosa
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index bc2c25896..ee77a0484 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5730,8 +5730,8 @@ CFLAGS="${CFLAGS} ${CFLAGS_AFTER}"
LDFLAGS="${LDFLAGS} ${LDFLAGS_AFTER}"
# Make a copy of CFLAGS/LDFLAGS without PIE options.
-LDFLAGS_NOPIE=`echo "$LDFLAGS" | sed 's/ -pie//'`
-CFLAGS_NOPIE=`echo "$CFLAGS" | sed 's/ -fPIE//'`
+LDFLAGS_NOPIE=`echo "$LDFLAGS" | sed 's/^-pie //;s/ -pie//g'`
+CFLAGS_NOPIE=`echo "$CFLAGS" | sed 's/^-fPIE //;s/ -fPIE//g'`
AC_SUBST([LDFLAGS_NOPIE])
AC_SUBST([CFLAGS_NOPIE])
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list