bison: Proper use LDFLAGS to link liby
Commit Message
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
bison/bison.nm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -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