mirror of
https://abf.rosa.ru/djam/firefox.git
synced 2025-02-25 11:02:59 +00:00
set -O0 by default for optflags
This commit is contained in:
parent
d52db5e9fa
commit
950dc66163
1 changed files with 3 additions and 1 deletions
|
@ -191,6 +191,8 @@ perl ./certdata.perl < /etc/pki/tls/mozilla/certdata.txt
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
global optflags %(echo %{optflags} | sed -e 's/-O2/-O0/' -e 's/-gdwarf-4//' -e 's/-fvar-tracking-assignments//' -e 's/-frecord-gcc-switches//' -e 's/-Wa,--compress-debug-sections//')
|
||||||
|
|
||||||
export MOZCONFIG=`pwd`/mozconfig
|
export MOZCONFIG=`pwd`/mozconfig
|
||||||
cat << EOF > $MOZCONFIG
|
cat << EOF > $MOZCONFIG
|
||||||
mk_add_options MOZILLA_OFFICIAL=1
|
mk_add_options MOZILLA_OFFICIAL=1
|
||||||
|
@ -199,7 +201,7 @@ mk_add_options MOZ_MAKE_FLAGS="%{_smp_mflags}"
|
||||||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj
|
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj
|
||||||
ac_add_options --host=%{_host}
|
ac_add_options --host=%{_host}
|
||||||
ac_add_options --target=%{_target_platform}
|
ac_add_options --target=%{_target_platform}
|
||||||
ac_add_options --disable-optimize
|
ac_add_options --enable-optimize
|
||||||
ac_add_options --prefix="%{_prefix}"
|
ac_add_options --prefix="%{_prefix}"
|
||||||
ac_add_options --libdir="%{_libdir}"
|
ac_add_options --libdir="%{_libdir}"
|
||||||
ac_add_options --sysconfdir="%{_sysconfdir}"
|
ac_add_options --sysconfdir="%{_sysconfdir}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue