summaryrefslogtreecommitdiffstats
path: root/build/unix/mozconfig.linux32
diff options
context:
space:
mode:
Diffstat (limited to 'build/unix/mozconfig.linux32')
-rw-r--r--build/unix/mozconfig.linux3212
1 files changed, 12 insertions, 0 deletions
diff --git a/build/unix/mozconfig.linux32 b/build/unix/mozconfig.linux32
new file mode 100644
index 000000000..309767751
--- /dev/null
+++ b/build/unix/mozconfig.linux32
@@ -0,0 +1,12 @@
+. "$topsrcdir/build/unix/mozconfig.linux"
+
+export PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/share/pkgconfig
+
+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 --host=i686-pc-linux
+ ac_add_options --x-libraries=/usr/lib
+fi