mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
Use plain gcc.
That makes the scripts work under Cygwin. Review URL: https://chromiumcodereview.appspot.com//9566021 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4864 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
4533fbe58d
commit
cebe958040
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ class IDLParser(object):
|
|||
includePaths -- an array of path strings.
|
||||
"""
|
||||
# FIXME: Handle gcc not found, or any other processing errors
|
||||
gcc = '/usr/bin/gcc'
|
||||
gcc = 'gcc'
|
||||
cmd = [gcc, '-E', '-P', '-C', '-x', 'c++'];
|
||||
for define in defines:
|
||||
cmd.append('-D%s' % define)
|
||||
|
|
Loading…
Reference in a new issue