build-scripts/emscripten-buildbot.sh
changeset 10311 848951113551
parent 9288 573ebcb470a3
child 10774 50a5917c297c
     1.1 --- a/build-scripts/emscripten-buildbot.sh	Sun Sep 04 01:42:46 2016 -0400
     1.2 +++ b/build-scripts/emscripten-buildbot.sh	Tue Sep 06 12:18:52 2016 -0400
     1.3 @@ -51,13 +51,14 @@
     1.4  pushd buildbot
     1.5  
     1.6  echo "Configuring..."
     1.7 -emconfigure ../configure --host=asmjs-unknown-emscripten --disable-assembly --disable-threads --enable-cpuinfo=false CFLAGS="-O2 -Wno-warn-absolute-paths -Wdeclaration-after-statement -Werror=declaration-after-statement" --prefix="$PWD/emscripten-sdl2-installed"
     1.8 +emconfigure ../configure --host=asmjs-unknown-emscripten --disable-assembly --disable-threads --enable-cpuinfo=false CFLAGS="-O2 -Wno-warn-absolute-paths -Wdeclaration-after-statement -Werror=declaration-after-statement" --prefix="$PWD/emscripten-sdl2-installed" || exit $?
     1.9  
    1.10  echo "Building..."
    1.11 -emmake $MAKE
    1.12 +emmake $MAKE || exit $?
    1.13  
    1.14  echo "Moving things around..."
    1.15 -emmake $MAKE install
    1.16 +emmake $MAKE install || exit $?
    1.17 +
    1.18  # Fix up a few things to a real install path
    1.19  perl -w -pi -e "s#$PWD/emscripten-sdl2-installed#/usr/local#g;" ./emscripten-sdl2-installed/lib/libSDL2.la ./emscripten-sdl2-installed/lib/pkgconfig/sdl2.pc ./emscripten-sdl2-installed/bin/sdl2-config
    1.20  mkdir -p ./usr