spec: Pass $RPM_LD_FLAGS to the build

This commit is contained in:
Timm Bäder 2020-11-23 15:29:42 +01:00
parent f638a2d384
commit c69927d70e

View File

@ -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