Browse Source

build: more emscripten fixes.

legacy
Sam Hocevar 5 years ago
parent
commit
0f9c07a9d9
2 changed files with 8 additions and 5 deletions
  1. +5
    -2
      build/autotools/m4/lol-conf.m4
  2. +3
    -3
      build/build-html

+ 5
- 2
build/autotools/m4/lol-conf.m4 View File

@@ -1,7 +1,7 @@
dnl dnl
dnl Lol Engine dnl Lol Engine
dnl dnl
dnl Copyright © 2010—2019 Sam Hocevar <sam@hocevar.net>
dnl Copyright © 2010—2020 Sam Hocevar <sam@hocevar.net>
dnl dnl
dnl Lol Engine is free software. It comes without any warranty, to dnl Lol Engine is free software. It comes without any warranty, to
dnl the extent permitted by applicable law. You can redistribute it dnl the extent permitted by applicable law. You can redistribute it
@@ -213,7 +213,10 @@ LOL_AC_CHECK_FFMPEG()




dnl Debug symbols dnl Debug symbols
LOL_TRY_LDFLAGS(-rdynamic, [AM_LDFLAGS="${AM_LDFLAGS} -rdynamic"])
dnl We use --export-dynamic instead of -rdynamic because the latter causes
dnl emscripten to emit wasm even when html is asked…
LOL_TRY_LDFLAGS(--export-dynamic, [AM_LDFLAGS="${AM_LDFLAGS} --export-dynamic"])



dnl Code qui fait des warnings == code de porc == deux baffes dans ta gueule dnl Code qui fait des warnings == code de porc == deux baffes dans ta gueule
LOL_TRY_CXXFLAGS(-Wall, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wall"]) LOL_TRY_CXXFLAGS(-Wall, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wall"])


+ 3
- 3
build/build-html View File

@@ -4,7 +4,7 @@
make distclean make distclean


set -e set -e
./build/lol-build "$@" bootstrap web-html
./build/lol-build "$@" configure web-html
./build/lol-build "$@" build web-html
"$(dirname "$0")/lol-build" "$@" bootstrap web-html
"$(dirname "$0")/lol-build" "$@" configure web-html
"$(dirname "$0")/lol-build" "$@" build web-html



Loading…
Cancel
Save