From patchwork Sat Mar 11 13:46:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6689 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PYkk171kgz3ww4 for ; Sat, 11 Mar 2023 13:47:05 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PYkk04Zdzz19Q; Sat, 11 Mar 2023 13:47:04 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PYkk03X6Dz2ytl; Sat, 11 Mar 2023 13:47:04 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PYkjz75Jpz2xqy for ; Sat, 11 Mar 2023 13:47:03 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4PYkjz2gV9zMQ; Sat, 11 Mar 2023 13:47:03 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1678542423; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GMCoVv3kUGTPo0OwsO6rNi24wJe7qUaZ8mCmN9GkFPs=; b=WHZzhL3hbjarbzQemwxfzv5UUEtYQwAUY+olIxepx5VxDuLVxIphZ4qpRxXuCxnCzy57xN q+K61kqLAo8GsmDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1678542423; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GMCoVv3kUGTPo0OwsO6rNi24wJe7qUaZ8mCmN9GkFPs=; b=NcBsOBOflGfTV0TPUTvcCth6pjV2kXRSl1lTXrdf464D+iLUSdNcW70TC70RAYcexzoFqJ CFd1W7fi9As6yKIH311LuHsSieHIaOD+7DiBrQRXpzf2kW9+zNxIX58GWz75fz7/Fy/f9i yqzqAEgq35AznB3T0WKcg5dUNQVAEmq9daRLVw3iZO47WjjVOJrzMCqhn2+v4lptNQlOWK LMEx9HZXT3TrzZyNx94AaF6y2JoBM02CB5WID7b2ScOaQ0UpzMQWBNMnlYWb7WnZIjOzx0 pHAf4VsRmijGwPz9ClWz/s+JkTpHw2I4f6MBGElh8vgwBBZ9+O0t+mJletb6BQ== 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 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" 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