brizental pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
-
e785dd70
by Beatriz Rizental at 2026-10-26T17:50:01+01:00
1 changed file:
Changes:
| ... | ... | @@ -4,6 +4,10 @@ |
| 4 | 4 | INCLUDE 'mozconfig-upstream-firefox.in';
|
| 5 | 5 | END -%]
|
| 6 | 6 | |
| 7 | +ac_add_options --enable-optimize
|
|
| 8 | +ac_add_options --enable-rust-simd
|
|
| 9 | +ac_add_options --enable-lto=cross
|
|
| 10 | + |
|
| 7 | 11 | [% IF c("var/linux") -%]
|
| 8 | 12 | # We want to build with clang now and point to the GCC toolchain until #29041 is
|
| 9 | 13 | # fixed. We explicitly need to define the host compiler as well as for some
|
| ... | ... | @@ -37,6 +41,9 @@ |
| 37 | 41 | |
| 38 | 42 | clang_path=/var/tmp/dist/mingw-w64-clang
|
| 39 | 43 | |
| 44 | + ac_add_options --with-toolchain-prefix[% c('arch') %]-w64-mingw32-
|
|
| 45 | + ac_add_options --enable-strip
|
|
| 46 | + |
|
| 40 | 47 | # For Stylo
|
| 41 | 48 | BINDGEN_CFLAGS="-I$clang_path/[% c('arch') %]-w64-mingw32/include/c++/v1 -I$clang_path/[% c('arch') %]-w64-mingw32/include"
|
| 42 | 49 | [% END -%]
|
| ... | ... | @@ -82,6 +89,8 @@ |
| 82 | 89 | export CFLAGS="$CFLAGS -mcpu=apple-m1"
|
| 83 | 90 | export CXXFLAGS="$CXXFLAGS -mcpu=apple-m1"
|
| 84 | 91 | [% END -%]
|
| 92 | + |
|
| 93 | + ac_add_options --enable-strip
|
|
| 85 | 94 | [% END -%]
|
| 86 | 95 | |
| 87 | 96 | ac_add_options --[% IF c("var/updater_enabled") %]enable[% ELSE %]disable[% END %]-updater
|