scons: fix llvm detection
authorBrian Paul <brianp@vmware.com>
Thu, 20 May 2010 16:25:17 +0000 (10:25 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 20 May 2010 16:27:12 +0000 (10:27 -0600)
commit5c682485b872537277951a1f6418d97d211a2651
tree3b549c035af751df03ace877943c674c5b10b50b
parent846b2fccc2a67b08acc6da51f4970fe66ed4559b
scons: fix llvm detection

The test for env['platform'] caused an exception since 'env' is not
defined at that point.  Instead, determine the target platform by
scanning sys.argv[].
common.py