瀏覽代碼

build: more emscripten fixes.

legacy
Sam Hocevar 5 年之前
父節點
當前提交
0f9c07a9d9
共有 2 個檔案被更改,包括 8 行新增5 行删除
  1. +5
    -2
      build/autotools/m4/lol-conf.m4
  2. +3
    -3
      build/build-html

+ 5
- 2
build/autotools/m4/lol-conf.m4 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存