summaryrefslogtreecommitdiff
path: root/distro-configs/LibreOfficeEmscripten.conf
blob: 6171fa7e94dffbe808eb629f059f730617cbd91f (plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Need to specify --host and --build to enable cross-compilation mode
# See https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Hosts-and-Cross_002dCompilation.html
--host=asmjs-local-emscripten
--build=x86_64-unknown-linux-gnu

# Disable unnecessary stuff
--disable-cups
--disable-dconf
--disable-gio
--disable-dbus
--disable-sdremote-bluetooth
--disable-gstreamer-0-10
--disable-gstreamer-1-0
--disable-liblangtag
--disable-odk
--disable-postgresql-sdbc
--disable-firebird-sdbc
--disable-python
--disable-randr
--disable-randr-link
--disable-pdfimport
--disable-systray
--disable-gltf
--disable-collada
--disable-export
--disable-report-builder
--disable-lpsolve
--disable-coinmp
--disable-graphite
--disable-orcus
--disable-liblangtag
--without-fonts
--without-java
--without-junit
--without-helppack-integration
--without-system-dicts
--with-theme=no
--with-system-nss

# Build fails when disabling these
#--disable-cairo-canvas
#--disable-scripting

# This helps spotting build errors
--with-parallelism=no

# Emscripten doesn't support dynamic loading
--disable-dynamic-loading

# Not sure whether we need this
#--disable-ccache

# Specify Emscripten compiler
CC=emcc -v
CXX=emcc -v