Bots pass --release/--debug, and the options are now in the script, but they are not used at all, we have a hack to detect whether it's a Release or Debug build.
Created attachment 132075 [details] Patch
Committed r110866: <http://trac.webkit.org/changeset/110866>