ac_add_options --enable-application=suite

ac_add_options --enable-debug

ac_add_options --enable-tests
ac_add_options --enable-trace-malloc

# Temporary options until bug 794378 is fixed
ac_add_options --enable-gnomevfs
ac_add_options --disable-gio

CC=/tools/gcc-4.5/bin/gcc
CXX=/tools/gcc-4.5/bin/g++

export LDFLAGS="-static-libstdc++"
export HOST_LDFLAGS="-static-libstdc++"
export CFLAGS="-gdwarf-2"
export CXXFLAGS="-gdwarf-2"

# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
ac_add_options --enable-debug-symbols="-gdwarf-2"
mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) @MOZ_OBJDIR@/_profile/pgo/profileserver.py'

# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1

# Enable parallel compiling
mk_add_options MOZ_MAKE_FLAGS="-j4"

#Use ccache
ac_add_options --with-ccache=/usr/bin/ccache
