mozilla2/linux/mozilla-beta/xulrunner/mozconfig
author Rail Aliiev <rail@mozilla.com>
Mon, 14 Jul 2014 13:42:02 -0400
changeset 10648 9f0b1c0867693179c94f813cee05e0defc993d17
parent 10027 e8c8603f1ea3a3d5259bb3db7f2c708b41bf356e
permissions -rw-r--r--
Bug 1015942 - tracking bug for build and release of thunderbird 31.0. r=nthomas

export MOZILLA_OFFICIAL=1

# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
ac_add_options --enable-debug-symbols="-gdwarf-2"

ac_add_options --enable-application=xulrunner
ac_add_options --disable-tests

CC="/tools/gcc-4.7.2-0moz1/bin/gcc"
CXX="/tools/gcc-4.7.2-0moz1/bin/g++"
# Avoid dependency on libstdc++ 4.5
ac_add_options --enable-stdcxx-compat

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

if test `uname -m` = "x86_64"; then
  # -march=pentiumpro is what our 32-bit native toolchain defaults to
  CC="$CC -m32 -march=pentiumpro"
  CXX="$CXX -m32 -march=pentiumpro"
  ac_add_options --target=i686-pc-linux
  ac_add_options --x-libraries=/usr/lib
  export PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/share/pkgconfig
fi