mongodb/mongo — pull request #340 by Abe149 (2012-12-14 02:32:51+00:00)
Title: top-level SConstruct compiler selection improvements

In the top-level SConstruct, I made it so the script will obey the environment variable "CXX" if present and not conflicting with one of the command-line options; also some other fixes to the same script in relation to C++ compiler selection.

Also fixed a linking issue ["-rdynamic"] in the top-level SConstruct that was screwing up the build of one of the programs on Mac OS X [AKA Darwin]. I suggest the MongoDB team look into possibly making this change [line 715 in my current version of the file] for Windows as well, since Web searches I did while trying to solve the problem indicated that building on MinGW may have the same problem.

Also, fixed some minor typos in the top-level SConstruct.