use cc_wrapper env var if present
requires https://github.com/brave/brave/pull/89 fix https://github.com/brave/brave/issues/83
This commit is contained in:
@@ -2,10 +2,13 @@
|
||||
import sys
|
||||
import subprocess
|
||||
import os.path
|
||||
import os
|
||||
|
||||
def main():
|
||||
args = sys.argv[1:]
|
||||
replace_cc_arg(args)
|
||||
if os.environ.has_key('CC_WRAPPER'):
|
||||
args = [os.environ['CC_WRAPPER']] + args
|
||||
cc_retcode = subprocess.call(args)
|
||||
return cc_retcode
|
||||
|
||||
|
||||
Reference in New Issue
Block a user