-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsuite-pedantic
41 lines (32 loc) · 1.26 KB
/
suite-pedantic
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
40
41
# sh
# Build configuration script
#
# See http://www.mozilla.org/build/unix.html for build instructions.
#
ac_add_options --enable-application=suite
CFLAGS="$CFLAGS -pedantic-errors -Wno-long-long -std=c99 -Wshadow -fno-builtin-index -Wwrite-strings -fmessage-length=0"
CXXFLAGS="$CXXFLAGS -fuse-cxa-atexit -pedantic-errors -Wno-long-long -std=c99 -Wshadow -Wwrite-strings -fmessage-length=0"
export CFLAGS # needed for NSPR configure
export CXXFLAGS # needed for NSPR configure
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj/pedantic/
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
ac_add_options --disable-double-buffer
ac_add_options --enable-xft
ac_add_options --disable-freetype2
MOZ_ENABLE_COREXFONTS=
# ac_add_options --enable-boehm
# ac_add_options --enable-cpp-rtti
if_enable_trace_malloc
ac_add_options --enable-extensions=all
# --enable-toolkit-gtk --enable-toolkit-xlib --enable-toolkit=gtk
#evil!
# if_enable_jprof
# if_enable_callgrind
# if_enable_shark
# Commercial tree!
mk_add_options NS_OBJDIR=@TOPSRCDIR@/../obj-ns/pedantic/
ac_add_options --with-moz-objs=../obj/pedantic/