kripken/emscripten — pull request #570 by ysangkok (2012-09-18 18:00:14+00:00)
Title: don't pass EMCC specific flags on when configuring using clang

Clang doesn't understand flags such as "-s ASSERTIONS=1" so it makes no sense to pass them on. This patch pulls the heuristics to determine if a parameter is a emcc flags out into a function and calls it from the place of the original check and during EMCC_JUST_CONFIGURE too.