Browse Source

provide knob for enabling optimizations

master
parent
commit
0844cf747f
  1. 13
      mozilla/mozilla.spec

13
mozilla/mozilla.spec

@ -37,9 +37,10 @@ Distribution: OpenPKG [EVAL]
Group: Web
License: MPL
Version: %{V_mozilla}
Release: 20030723
Release: 20030725
# package options
%option with_optimize no
%option with_mailnews no
%option with_composer no
@ -135,6 +136,11 @@ AutoReqProv: no
--enable-chrome-format=jar \
--enable-static \
--enable-strip \
%if "%{with_optimize}" == "yes"
--enable-optimize="-O2" \
%else
--disable-optimize \
%endif
%if "%{with_mailnews}" == "yes"
--enable-mailnews \
%else
@ -159,10 +165,9 @@ AutoReqProv: no
--disable-md \
--disable-cpp-exceptions \
--disable-cpp-rtti \
--disable-optimize \
--disable-xterm-updates \
--with-pthreads \
--disable-elf-dynstr-gc
--disable-elf-dynstr-gc \
--with-pthreads
# build program
%{l_make} %{l_mflags}

Loading…
Cancel
Save