Descriptionninja: use cc and c++ instead of gcc and g++ by default on non-Windows.
See https://groups.google.com/forum/#!topic/gyp-developer/50IkuJBVGbU .
For Mac specifically:
g++ on my system is not Xcode's g++, but proper FSF GNU GCC g++. This
doesn't hurt Chromium, which sets clang as the compiler by default, but
does hurt projects that don't explicitly specify a compiler, including
the tests.
FSF GNU GCC g++ doesn't understand these options that xcode_emulation.py
adds:
g++: error: unrecognized command line option ‘-fasm-blocks’
g++: error: unrecognized command line option ‘-mpascal-strings’
R=thakis@chromium.org
Committed: https://code.google.com/p/gyp/source/detail?r=1791
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Messages
Total messages: 5 (0 generated)
|