projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27df776
)
Use $CXX instead of $CC when building C++ ninja source.
author
Ami Fischman
<fischman@chromium.org>
Fri, 6 May 2011 20:04:38 +0000
(13:04 -0700)
committer
Ami Fischman
<fischman@chromium.org>
Fri, 6 May 2011 20:06:45 +0000
(13:06 -0700)
gen-build-file.py
patch
|
blob
|
history
diff --git
a/gen-build-file.py
b/gen-build-file.py
index
399dc62
..
d1f740a
100755
(executable)
--- a/
gen-build-file.py
+++ b/
gen-build-file.py
@@
-57,7
+57,7
@@
if platform == 'mingw':
# configuration; ignored"
cflags.remove('-fvisibility=hidden')
else:
- n.variable('cxx', os.environ.get('C
C
', 'g++'))
+ n.variable('cxx', os.environ.get('C
XX
', 'g++'))
if 'CFLAGS' in os.environ:
cflags.append(os.environ['CFLAGS'])
n.variable('cflags', ' '.join(cflags))
@@
-68,7
+68,7
@@
n.newline()
n.rule('cxx',
command='$cxx -MMD -MF $out.d $cflags -c $in -o $out',
depfile='$out.d',
- description='C
C
$out')
+ description='C
XX
$out')
n.newline()
ar = 'ar'