public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] gawk: Proper build with PIE
Date: Sat, 11 Mar 2023 14:46:58 +0100	[thread overview]
Message-ID: <20230311134658.411444-1-stefan.schantl@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 gawk/gawk.nm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gawk/gawk.nm b/gawk/gawk.nm
index 5060b1704..0e544ee70 100644
--- a/gawk/gawk.nm
+++ b/gawk/gawk.nm
@@ -5,7 +5,7 @@
 
 name       = gawk
 version    = 5.2.1
-release    = 1
+release    = 2
 
 groups     = System/Tools
 url        = https://www.gnu.org/software/gawk/gawk.html
@@ -31,6 +31,12 @@ build
 	configure_options += \
 		--with-libsigsegv-prefix=no
 
+	prepare_cmds
+		# The config scripts checks if the used compiler accepts -no-pie and if
+		# yes, will set this as compile and linker flags - Change this to pie.
+		sed -i 's/-no-pie/-pie/g' configure
+	end
+
 	test
 		make check diffout
 	end
-- 
2.30.2


                 reply	other threads:[~2023-03-11 13:46 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=20230311134658.411444-1-stefan.schantl@ipfire.org \
    --to=stefan.schantl@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