build/unix/mozconfig.linux32
author Jorg K <jorgk@jorgk.com>
Fri, 12 Jan 2018 23:54:20 +0100
changeset 29958 1f77e76d57f7fe42bc160840a918e61c8cac806c
parent 29830 13c3ef7d9883ef0020d9ad8c9bad7a308b6f97a6
child 30161 fb09e4b27ed4cff576ea837a5829b1e0b47a7d6b
permissions -rw-r--r--
Keep build files in sync (Port bug 1430036: Don't set PKG_CONFIG_LIBDIR when building on Debian). rs=bustage-fix

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

if [ -f /etc/redhat-release ]; then
export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
fi

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
fi