From 338f19a8cecfa632fa23d42cc27769a832d62104 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Wed, 16 Sep 2015 17:03:17 +0200 Subject: 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 Tested-by: Samuel Mehrbrodt --- distro-configs/LibreOfficeEmscripten.conf | 54 +++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 distro-configs/LibreOfficeEmscripten.conf (limited to 'distro-configs') 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 -- cgit