Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
[Web][Emscripten] Update EMCC C++ standard to C++17 (apache#12693)
Browse files Browse the repository at this point in the history
As a follow-up to apache#12337, updating
the EMCC flags from `-std=c++14` to `-std=c++17`.
  • Loading branch information
Lunderberg authored and xinetzone committed Nov 25, 2022
1 parent 34b8c68 commit 0646b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ all: dist/wasm/tvmjs_runtime.wasm dist/wasm/tvmjs_runtime.wasi.js

EMCC = emcc

EMCC_CFLAGS = $(INCLUDE_FLAGS) -O3 -std=c++14 -Wno-ignored-attributes --no-entry \
EMCC_CFLAGS = $(INCLUDE_FLAGS) -O3 -std=c++17 -Wno-ignored-attributes --no-entry \
-s ALLOW_MEMORY_GROWTH=1 -s STANDALONE_WASM=1 -s ERROR_ON_UNDEFINED_SYMBOLS=0

EMCC_LDFLAGS = --pre-js emcc/preload.js
Expand Down

0 comments on commit 0646b7a

Please sign in to comment.