From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] libloc: Apply -fno-stack-protector only on i586 Date: Tue, 21 Jul 2020 12:48:55 +0000 Message-ID: <20200721124855.3536-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2524809551809907363==" List-Id: --===============2524809551809907363== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable All other architectures build fine and we do not need to weaken the Perl module unnecessarily. Signed-off-by: Michael Tremer --- 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 =20 # 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 =20 cd $(DIR_APP) && ./autogen.sh cd $(DIR_APP) && ./configure \ --=20 2.20.1 --===============2524809551809907363==--