Ignore CC and CXX in env
This commit is contained in:
parent
0cdd764161
commit
49181403ef
1 changed files with 7 additions and 0 deletions
|
@ -35,6 +35,13 @@ def main():
|
||||||
if os.environ.has_key('JANKY_SHA1'):
|
if os.environ.has_key('JANKY_SHA1'):
|
||||||
setup_nodenv()
|
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'
|
target_arch = 'x64'
|
||||||
if os.environ.has_key('TARGET_ARCH'):
|
if os.environ.has_key('TARGET_ARCH'):
|
||||||
target_arch = os.environ['TARGET_ARCH']
|
target_arch = os.environ['TARGET_ARCH']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue