Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a .mozconfig file to compile 32-bit Firefox on a 64-bit OS.
- Loading branch information
1 parent
4badb6b
commit 5d76bfe
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#export PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/share/pkgconfig | ||
export CROSS_COMPILE=1 | ||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-dbg32 | ||
mk_add_options MOZ_MAKE_FLAGS="-s -j4" | ||
ac_add_options --enable-application=browser | ||
|
||
CC="gcc -m32" | ||
CXX="g++ -m32" | ||
AR=ar | ||
ac_add_options --x-libraries=/usr/lib32 | ||
ac_add_options --target=i686-pc-linux | ||
|
||
ac_add_options --disable-crashreporter # needed because I couldn't find a 32-bit curl-dev lib | ||
ac_add_options --disable-libnotify # needed because I couldn't find a 32-bit libinotify-dev | ||
ac_add_options --disable-gnomevfs # needed because I couldn't find a 32-bit libgnomevfs-dev | ||
ac_add_options --disable-freetypetest | ||
ac_add_options --disable-pango |