From 029652e19c0f973da1581685830e9cab30136a04 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Fri, 2 Mar 2018 11:18:38 +0100 Subject: [PATCH] Remove obsolete setting FUNCTION_POINTER_ALIGNMENT FUNCTION_POINTER_ALIGNMENT was removes from emscripten in January 2018: https://github.com/kripken/emscripten/pull/6091 --- dist-build/emscripten.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist-build/emscripten.sh b/dist-build/emscripten.sh index ebffe281..82c29485 100755 --- a/dist-build/emscripten.sh +++ b/dist-build/emscripten.sh @@ -11,7 +11,7 @@ export LDFLAGS="-s RESERVED_FUNCTION_POINTERS=8" export LDFLAGS="${LDFLAGS} -s SINGLE_FILE=1" export LDFLAGS="${LDFLAGS} -s ASSERTIONS=0" export LDFLAGS="${LDFLAGS} -s AGGRESSIVE_VARIABLE_ELIMINATION=1 -s ALIASING_FUNCTION_POINTERS=1" -export LDFLAGS="${LDFLAGS} -s FUNCTION_POINTER_ALIGNMENT=1 -s DISABLE_EXCEPTION_CATCHING=1" +export LDFLAGS="${LDFLAGS} -s DISABLE_EXCEPTION_CATCHING=1" export LDFLAGS="${LDFLAGS} -s ELIMINATE_DUPLICATE_FUNCTIONS=1" export LDFLAGS_DIST="-s NO_FILESYSTEM=1" export CFLAGS="-Os"