This commit is contained in:
Sergey A. Sokolov 2012-08-20 18:50:27 +00:00
parent 516cccf4e1
commit 6d62055abe

View file

@ -56,6 +56,7 @@ proxy server written by Igor Sysoev.
%patch0 -p1 -b .CVE-2012-1180 %patch0 -p1 -b .CVE-2012-1180
%build %build
export LDFLAGS="$LDFLAGS -fPIC"
%serverbuild %serverbuild
# nginx does not utilize a standard configure script. It has its own # nginx does not utilize a standard configure script. It has its own
# and the standard configure options cause the nginx configure script # and the standard configure options cause the nginx configure script
@ -90,8 +91,6 @@ export DESTDIR=%{buildroot}
--with-mail_ssl_module \ --with-mail_ssl_module \
--with-cc-opt="$CFLAGS $(pcre-config --cflags)" --with-cc-opt="$CFLAGS $(pcre-config --cflags)"
LDFLAGS="$LDFLAGS -fPIC"
%make %make
%install %install