spec: Pass $RPM_LD_FLAGS to the build
This commit is contained in:
parent
f638a2d384
commit
c69927d70e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user