diff --git a/darkhttpd.spec b/darkhttpd.spec index e470b0e..b371fd2 100644 --- a/darkhttpd.spec +++ b/darkhttpd.spec @@ -35,6 +35,7 @@ Uses sendfile(). %prep %setup -q +sed -i 's|$@|$@ $(LDFLAGS)|g' Makefile %build make CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" %{?_smp_mflags}