warning options to be set. I'm loving scons right now.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@75
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
# We disable deprecation warnings because we need to be able to use
# env.Copy without getting warnings for compatibility with older
-# version of scons.
-SetOption('warn', 'no-deprecated')
+# version of scons. Also, there's a bug in some revisions that
+# doesn't allow this flag to be set, so we swallow any exceptions.
+# Lovely.
+try:
+ SetOption('warn', 'no-deprecated')
+except:
+ pass
Build()