From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] gawk: Proper build with PIE Date: Sat, 11 Mar 2023 14:46:58 +0100 Message-ID: <20230311134658.411444-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7929326128850301308==" List-Id: --===============7929326128850301308== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: Stefan Schantl --- 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 --===============7929326128850301308==--