diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-09-16 17:03:17 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-10-05 10:24:35 +0000 |
commit | 338f19a8cecfa632fa23d42cc27769a832d62104 (patch) | |
tree | 32a9f5f89828a35e4c59c9fddab7da44bea8eeb6 /distro-configs | |
parent | e62c2b03c79cf00c7bb7f08e986f73c76b784581 (diff) |
Emscripten: First steps of porting to Emscripten
See https://wiki.documentfoundation.org/Development/Emscripten for details
Change-Id: I977a8b9e98b9be13c263fef48f567b92347d0492
Reviewed-on: https://gerrit.libreoffice.org/18643
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'distro-configs')
-rw-r--r-- | distro-configs/LibreOfficeEmscripten.conf | 54 |
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 |