Skip to content

Commit

Permalink
Merge pull request #54 from brave/fix/83
Browse files Browse the repository at this point in the history
use cc_wrapper env var if present
  • Loading branch information
bbondy authored Mar 6, 2018
2 parents 18e3ab3 + 5ae15ca commit ae0f9c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/redirect-cc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ae0f9c8

Please sign in to comment.