]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
bison: Proper use LDFLAGS to link liby
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 11 Mar 2023 12:53:17 +0000 (13:53 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 13 Mar 2023 10:22:33 +0000 (10:22 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
bison/bison.nm

index 96d0ed3318cdf2379617b425c7d59f3a59349978..3a8665a0cd21f3fdbae8f4719c46fac021aac22e 100644 (file)
@@ -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