From patchwork Sat Mar 11 12:53:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6687 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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PYjXJ2rLJz3wkG for ; Sat, 11 Mar 2023 12:53:36 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PYjXF3F4vzc3; Sat, 11 Mar 2023 12:53:33 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PYjXF1Wngz2ysT; Sat, 11 Mar 2023 12:53:33 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PYjXC2ttgz2xPJ for ; Sat, 11 Mar 2023 12:53:31 +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 4PYjX955C8zJg; Sat, 11 Mar 2023 12:53:29 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1678539210; 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=j7jLYO5Kz1k/RYC5D5+nZ/y+UEmfsgv8ma5JQ9SpbkQ=; b=LQ8Z//OPkMoAJlmo1ZA10/+64cWvImaspmjZ6CyeYfFlltScsHgJ/jn8QrFfiDt8ZphAAM uQJWUXadMSQKU8DQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1678539210; 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=j7jLYO5Kz1k/RYC5D5+nZ/y+UEmfsgv8ma5JQ9SpbkQ=; b=MBfzNQ4po+Ho7xKEpzKwSAtRN6/qbe/voTlDyQoiIbHoCYMaqvUfjWUT37c6XOL+TE2jqk k+oTVmoHVE4Xomw9hxXiHtR2FTHXVRgeYI2kdWuelj+X3kBfemXgNi0TALr94dWHYKLOnm hpu2wmSgR3q+2pGSeFQSQn+hd+ygjqvcg6+RiJ0gM982XxLCkTd0WukVo+BcfvO5GLQwSD 9QbmmoJvr91WQ/5S1BmVnVSEBAw2ZCImY3nPl6AQlo2zt96Gk6WYcwASE7XSz9939xqOrh NqLAwBFVsnYX6gqtOTNUjoTMk9TFTihO/X1G2JG4nC4sx6F4+7i7I54/7QbDVw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] bison: Proper use LDFLAGS to link liby Date: Sat, 11 Mar 2023 13:53:17 +0100 Message-Id: <20230311125317.96540-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 --- bison/bison.nm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bison/bison.nm b/bison/bison.nm index 96d0ed331..3a8665a0c 100644 --- a/bison/bison.nm +++ b/bison/bison.nm @@ -5,7 +5,7 @@ name = bison version = 3.8.2 -release = 1 +release = 2 groups = Development/Tools url = http://www.gnu.org/software/bison/ @@ -32,7 +32,7 @@ build build_cmds cd lib - gcc -shared -Wl,-soname,liby.so.%{version} \ + gcc %{LDFLAGS} -shared -Wl,-soname,liby.so.%{version} \ -o liby.so.%{version} %{CFLAGS} main.o yyerror.o end