-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopt-noxft
39 lines (31 loc) · 1.19 KB
/
opt-noxft
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# sh
# Build configuration script
#
# See http://www.mozilla.org/build/unix.html for build instructions.
#
ac_add_options --enable-application=suite
CC=/usr/local/gcc-3.2/bin/gcc
CXX=/usr/local/gcc-3.2/bin/g++
CFLAGS="$CFLAGS -Wshadow -fno-builtin-index -Wwrite-strings -fmessage-length=0"
CXXFLAGS="$CXXFLAGS -fuse-cxa-atexit -Wshadow -Wwrite-strings -fmessage-length=0"
export CFLAGS # needed for NSPR configure
export CXXFLAGS # needed for NSPR configure
# Options for client.mk.
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj/opt-noxft/
mk_add_options MOZ_CO_MODULE="SeaMonkeyAll mozilla/tools/trace-malloc mozilla/tools/rb mozilla/tools/jprof"
# cls says -jN where N is cpus+1
mk_add_options MOZ_MAKE_FLAGS=-j2
MOZ_MAKE_FLAGS=-j2
# mk_add_options RUN_AUTOCONF_LOCALLY=1
# Options for 'configure' (same as command-line options).
ac_add_options --enable-optimize
ac_add_options --disable-debug
if_enable_jprof
if_enable_callgrind
if_enable_shark
ac_add_options --enable-extensions=all
# --enable-toolkit-gtk --enable-toolkit-xlib --enable-toolkit=gtk
# --disable-double-buffer
# Commercial tree!
mk_add_options NS_OBJDIR=@TOPSRCDIR@/../obj-ns/opt-noxft/
ac_add_options --with-moz-objs=../obj/opt-noxft/