mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
37 lines
977 B
Plaintext
37 lines
977 B
Plaintext
|
ac_add_options --enable-application=browser
|
||
|
ac_add_options --enable-optimize
|
||
|
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
|
||
|
ac_add_options --enable-update-packaging
|
||
|
ac_add_options --disable-debug
|
||
|
ac_add_options --enable-tests
|
||
|
ac_add_options --enable-codesighs
|
||
|
|
||
|
# Nightlies only since this has a cost in performance
|
||
|
ac_add_options --enable-js-diagnostics
|
||
|
|
||
|
CC=/tools/gcc-4.5/bin/gcc
|
||
|
CXX=/tools/gcc-4.5/bin/g++
|
||
|
# Avoid dependency on libstdc++ 4.5
|
||
|
ac_add_options --enable-stdcxx-compat
|
||
|
|
||
|
export CFLAGS="-gdwarf-2"
|
||
|
export CXXFLAGS="-gdwarf-2"
|
||
|
|
||
|
# For NSS symbols
|
||
|
export MOZ_DEBUG_SYMBOLS=1
|
||
|
ac_add_options --enable-debug-symbols="-gdwarf-2"
|
||
|
|
||
|
# Needed to enable breakpad in application.ini
|
||
|
export MOZILLA_OFFICIAL=1
|
||
|
|
||
|
export MOZ_TELEMETRY_REPORTING=1
|
||
|
|
||
|
# PGO
|
||
|
mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) @MOZ_OBJDIR@/_profile/pgo/profileserver.py 10'
|
||
|
|
||
|
# Enable parallel compiling
|
||
|
mk_add_options MOZ_MAKE_FLAGS="-j4"
|
||
|
|
||
|
#Use ccache
|
||
|
ac_add_options --with-ccache=/usr/bin/ccache
|