summaryrefslogtreecommitdiff
path: root/distro-configs
diff options
context:
space:
mode:
Diffstat (limited to 'distro-configs')
-rw-r--r--distro-configs/LibreOfficeEmscripten.conf54
1 files changed, 54 insertions, 0 deletions
diff --git a/distro-configs/LibreOfficeEmscripten.conf b/distro-configs/LibreOfficeEmscripten.conf
new file mode 100644
index 000000000000..2678b929d7cc
--- /dev/null
+++ b/distro-configs/LibreOfficeEmscripten.conf
@@ -0,0 +1,54 @@
+# 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-cairo-canvas
+--disable-cups
+--disable-gconf
+--disable-dconf
+--disable-gio
+--disable-dbus
+--disable-sdremote-bluetooth
+--disable-gstreamer-0-10
+--disable-gstreamer-1-0
+--disable-liblangtag
+--disable-lockdown
+--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-scripting
+--disable-graphite
+--disable-orcus
+--without-fonts
+--without-java
+--without-junit
+--without-helppack-integration
+--without-system-dicts
+--with-theme=no
+--with-system-zlib=no
+
+# 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
+CXX=emcc