public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] libloc: Apply -fno-stack-protector only on i586
@ 2020-07-21 12:48 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2020-07-21 12:48 UTC (permalink / raw)
  To: development

[-- 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-21 12:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-21 12:48 [PATCH] libloc: Apply -fno-stack-protector only on i586 Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox