Chromium Code Reviews
DescriptionThe status quo is this:
build/compiler_version.py detects the version of the c++ compiler, which is assumed to be g++. That version then becomes gcc_version in gyp. gcc_version is used for CFLAGS and CXXFLAGS
Nothing keeps me from using gcc-4.4 for CC and g++-4.5 for CXX, though (let alone clang). I think splitting that up into two variables, one for c++ and one for c would benefit clarity while introducing minimal overhead. I've attached a patch that changes checks for gcc_version that are actually checks for the version of g++ into gxx_version plus everything that's required for that to work. This patch is against the chromium-9.0.570.0 tarball.
BUG=62207
and TEST="manual"
Patch Set 1 #Patch Set 2 : Use g++ rather than gxx in comments #
Messages
Total messages: 10 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||