Add -O2 to nginx.so
This commit is contained in:
parent
982a1dba7e
commit
42bea43805
@ -290,7 +290,7 @@ mv ../%{name}-%{version}-%{release}-src .
|
||||
# variable.
|
||||
export DESTDIR=%{buildroot}
|
||||
# So the perl module finds its symbols:
|
||||
nginx_ldopts="$RPM_LD_FLAGS -Wl,-E"
|
||||
nginx_ldopts="$RPM_LD_FLAGS -Wl,-E -O2"
|
||||
if ! ./configure \
|
||||
--prefix=%{_datadir}/nginx \
|
||||
--sbin-path=%{_sbindir}/nginx \
|
||||
|
Loading…
Reference in New Issue
Block a user