mirror of https://github.com/bjornbytes/lovr.git
wasm target uses gnu11 standard;
This is because compiling with newer versions of emscripten warns on use of EM_ASM without GNU C, and miniaudio uses EM_ASM.
This commit is contained in:
parent
66c74a7cd3
commit
2dc9081d02
|
@ -142,6 +142,7 @@ end
|
|||
if target == 'wasm' then
|
||||
cc = 'emcc'
|
||||
cxx = 'em++'
|
||||
cflags += '-std=gnu11'
|
||||
cflags += '-DLOVR_WEBGL'
|
||||
cflags += '-D_POSIX_C_SOURCE=200809L'
|
||||
lflags += '-s USE_WEBGL2'
|
||||
|
|
Loading…
Reference in New Issue