From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] bison: Proper use LDFLAGS to link liby
Date: Sat, 11 Mar 2023 13:53:17 +0100 [thread overview]
Message-ID: <20230311125317.96540-1-stefan.schantl@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 662 bytes --]
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
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
--
2.30.2
reply other threads:[~2023-03-11 12:53 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=20230311125317.96540-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