mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
dfdf59058d
Some mozconfigs don't include mozconfig.linux*, and don't get gtk-related definitions, so move them in a separate mozconfig. To avoid having two files, one for 32-bit builds and one for 64-bit builds, rely on the includer to set PKG_CONFIG_LIBDIR appropriately. At the same time, move all the --enable-default-toolkit=cairo-gtk2 in that new file in the case the gtk3 package wasn't pulled from tooltool.
13 lines
406 B
Plaintext
13 lines
406 B
Plaintext
. "$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
|