diff --git a/Tupfile.lua b/Tupfile.lua index 5cd9ac56..24cf05ae 100644 --- a/Tupfile.lua +++ b/Tupfile.lua @@ -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'