Browse Source

Ignore CC and CXX in env

Cheng Zhao 8 years ago
parent
commit
49181403ef
1 changed files with 7 additions and 0 deletions
  1. 7 0
      script/cibuild

+ 7 - 0
script/cibuild

@@ -35,6 +35,13 @@ def main():
   if os.environ.has_key('JANKY_SHA1'):
     setup_nodenv()
 
+  # Ignore the CXX and CC env in CI.
+  try:
+    del os.environ['CC']
+    del os.environ['CXX']
+  except KeyError:
+    pass
+
   target_arch = 'x64'
   if os.environ.has_key('TARGET_ARCH'):
     target_arch = os.environ['TARGET_ARCH']