Ver código fonte

build: more emscripten fixes.

legacy
Sam Hocevar 5 anos atrás
pai
commit
0f9c07a9d9
2 arquivos alterados com 8 adições e 5 exclusões
  1. +5
    -2
      build/autotools/m4/lol-conf.m4
  2. +3
    -3
      build/build-html

+ 5
- 2
build/autotools/m4/lol-conf.m4 Ver arquivo

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


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
LOL_TRY_CXXFLAGS(-Wall, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wall"])


+ 3
- 3
build/build-html Ver arquivo

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

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


Carregando…
Cancelar
Salvar