 +        if option not in boptions:
 +            return False
 +        return options[option].value
-+    except:
++    except KeyError:
 +        return False
 +
  def get_base_compile_args(options, compiler):

From da07964b60ea4cda2c8b5795bc7c2075283c3a4f Mon Sep 17 00:00:00 2001
From: Nirbheek Chauhan <nirbheek@centricular.com>
Date: Tue, 22 May 2018 13:39:00 +0530
Subject: [PATCH] Add a new option for building with Apple bitcode support

             self.base_options.append('b_lundef')
         self.base_options.append('b_asneeded')
         # All GCC backends can do assembly
@@ -1184,7 +1201,9 @@ class ClangCompiler:
         self.clang_type = clang_type
         self.base_options = ['b_pch', 'b_lto', 'b_pgo', 'b_sanitize', 'b_coverage',
                              'b_ndebug', 'b_staticpic', 'b_colorout']
