From 49181403efb826534bc31c54ca95fda743a6f407 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 26 Jul 2016 19:24:28 +0900 Subject: [PATCH] Ignore CC and CXX in env --- script/cibuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/script/cibuild b/script/cibuild index 7d025b4e82cd..7f33762c614c 100755 --- a/script/cibuild +++ b/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']