diff --git a/bin/twnbuild b/bin/twnbuild index a8fac73..480c86c 100755 --- a/bin/twnbuild +++ b/bin/twnbuild @@ -24,7 +24,7 @@ cmake = ["emcmake", "cmake"] if target_web else ["cmake"] command = [] # check whether clang is around (it's just better) -if has_clang: +if has_clang and not target_web: command += ["-DCMAKE_C_COMPILER=clang"] # check whether ninja is around (you better start running) if has_ninja: