build/unix/mozconfig.linux32
author Edmund Wong <ewong@pw-wspx.org>
Mon, 13 Feb 2017 14:05:15 +0800
changeset 27635 4095f1ae7fdfeb5ba724b925d1860a022da1c5ed
parent 27077 be703d8e2f1d82b51fa1f925553cecb897e6e899
child 29821 9452138c4e83fa19c259689a44469eee6e80c72d
permissions -rw-r--r--
Bug 1338948 - Update rustc to 1.15.1. r+a=IanN

. "$topsrcdir/build/unix/mozconfig.linux"

export PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/share/pkgconfig

export MOZ_LINUX_32_SSE2_STARTUP_ERROR=1

CFLAGS="$CFLAGS -msse -msse2 -mfpmath=sse"
CXXFLAGS="$CXXFLAGS -msse -msse2 -mfpmath=sse"

if test `uname -m` = "x86_64"; then
  CC="$CC -m32 -march=pentium-m"
  CXX="$CXX -m32 -march=pentium-m"
  ac_add_options --target=i686-pc-linux
  ac_add_options --host=i686-pc-linux
  ac_add_options --x-libraries=/usr/lib
fi