public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/lldpad] rawhide: Drop obsolete libtool hardening-flags sed hack
Date: Mon, 05 Oct 2026 12:23:36 GMT [thread overview]
Message-ID: <179120301617.1.13108577628736825518.rpms-lldpad-d51c208cf5d1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/lldpad
Branch : rawhide
Commit : d51c208cf5d1abf55b36acb9c02adc94fac6601c
Author : Michal Schmidt <mschmidt@redhat.com>
Date : 2026-09-16T19:56:44+02:00
Stats : +0/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/lldpad/c/d51c208cf5d1abf55b36acb9c02adc94fac6601c?branch=rawhide
Log:
Drop obsolete libtool hardening-flags sed hack
This worked around old libtool not passing CFLAGS/LDFLAGS to the
compiler_flags used during linking, which broke hardened builds.
Verified with fedpkg mockbuild that the built binaries still have
full RELRO, PIE and BIND_NOW without the workaround.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
---
diff --git a/lldpad.spec b/lldpad.spec
index b6d22f6..4b7ec65 100644
--- a/lldpad.spec
+++ b/lldpad.spec
@@ -49,8 +49,6 @@ that use %{name}.
./bootstrap.sh
CFLAGS=${CFLAGS:-%optflags -Wno-error -fcommon}; export CFLAGS;
%configure --disable-static
-# fix the hardened build flags
-sed -i -e 's! \\\$compiler_flags !&\\\$CFLAGS \\\$LDFLAGS !' libtool
%make_build
%install
reply other threads:[~2026-10-05 12:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179120301617.1.13108577628736825518.rpms-lldpad-d51c208cf5d1@fedoraproject.org \
--to=mschmidt@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox