Created
October 11, 2019 13:14
-
-
Save originalsouth/247664538493e7181546d1e210374f5f to your computer and use it in GitHub Desktop.
Emscripten bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int life_the_universe_and_everything() | |
{ | |
return 42; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OPTLEVEL=3 | |
bug.js: bug.c | |
emcc -Wall -Wextra -flto -O$(OPTLEVEL) -s ENVIRONMENT=worker -o $@ $< | |
clean: | |
-rm -rf bug.js bug.wasm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the makefile yields a
Unknown option '--mvp-features'
error:while running the makefile with
OPTLEVEL=2
compiles regularlyon
as provided by Archlinux.