X-Git-Url: http://git.lukelau.me/?p=wasm.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=c2171a2157ad7d2973b800da9bcdf7e444f06303;hp=13a9c43ca20dff921d0ef883548d9399327f5338;hb=54f82247de6f51a7e30a935d3a533745691bcbb6;hpb=aed1f5271c857c3afa085c593d2ca6159770395c diff --git a/Makefile b/Makefile index 13a9c43..c2171a2 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,6 @@ test.wasm: test.cpp sysroot toolchain/build/llvm/bin/clang++ \ --target=wasm32-unknown-unknown-wasm -g -O3 \ -fno-exceptions --sysroot=sysroot -nostartfiles \ - -Wl,--export=foo,--demangle,--no-entry,--allow-undefined-file=gles2.imports \ + -Wl,--export=setup,--demangle,--no-entry,--allow-undefined-file=gles2.imports \ test.cpp -o test.wasm