From 2dcb27a7051cd585f5e6417afb9c62e5deed8d01 Mon Sep 17 00:00:00 2001 From: "christian.plesner.hansen@gmail.com" Date: Mon, 1 Sep 2008 12:00:32 +0000 Subject: [PATCH] Hack to avoid bug in scons 0.ninety-something which doesn't allow 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 --- SConstruct | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 618743c..c108d30 100644 --- a/SConstruct +++ b/SConstruct @@ -487,8 +487,13 @@ def Build(): # 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() -- 2.7.4