From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] libloc: Apply -fno-stack-protector only on i586
Date: Tue, 21 Jul 2020 12:48:55 +0000 [thread overview]
Message-ID: <20200721124855.3536-1-michael.tremer@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 808 bytes --]
All other architectures build fine and we do not need to
weaken the Perl module unnecessarily.
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
lfs/libloc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lfs/libloc b/lfs/libloc
index 4f392baca..db430d881 100644
--- a/lfs/libloc
+++ b/lfs/libloc
@@ -82,7 +82,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/libloc-0.9.3-country-terminate-buffer-when-reading-from-database.patch
# Add patch for i585 to disable the stack protector.
+ifeq "$(BUILD_ARCH)" "i586"
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/libloc-0.9.3-perl-no-stack-protector.patch
+endif
cd $(DIR_APP) && ./autogen.sh
cd $(DIR_APP) && ./configure \
--
2.20.1
reply other threads:[~2020-07-21 12:48 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=20200721124855.3536-1-michael.tremer@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.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