kripken/emscripten — pull request #157 by skierpage (2012-01-04 23:46:59+00:00)
Title: don't die on "closure does not exist", since naive `make` can trigger it

Hey there,

As I reported in "should emconfigure adjust CXXFLAGS?" in the Google group, a naive `emconfigure ./configure` can fail because it leaves CXXFLAGS unchanged and if the project default includes -O2, any compile will fail until you set up Closure. (emscripten's tools/shared.py currently overrides project's CFLAGS so this assert doesn't affect projects using CFLAGS.)

This simple change turns the assert into warn and disable closure.

(n00b alert! This is my first attempt to use this github machinery, thanks in advance for your patience.)