From c69927d70e7539f17ed5e5c2d7fd021d46d45883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Mon, 23 Nov 2020 15:29:42 +0100 Subject: [PATCH] spec: Pass $RPM_LD_FLAGS to the build --- byaccj.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/byaccj.spec b/byaccj.spec index ae735b8..ecc37cb 100644 --- a/byaccj.spec +++ b/byaccj.spec @@ -30,7 +30,7 @@ sed -i -e 's|-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-versi %build pushd src -make yacc CFLAGS="%{optflags}" LDFLAGS="" +make yacc CFLAGS="%{optflags}" LDFLAGS="$RPM_LD_FLAGS" popd %install