Commit 3b5ce4b8 authored by Bill Hoffman's avatar Bill Hoffman

*** empty log message ***

parent 152fccf8
......@@ -1374,10 +1374,10 @@ void cmUnixMakefileGenerator::ComputeSystemInfo()
{
std::string env = "CXX=${CMAKE_CXX_COMPILER}";
m_Makefile->ExpandVariablesInString(env);
putenv(env.c_str());
putenv(const_cast<char*>(env.c_str()));
env = "CC=${CMAKE_C_COMPILER}";
m_Makefile->ExpandVariablesInString(env);
putenv(env.c_str());
putenv(const_cast<char*>(env.c_str()));
}
// currently we run configure shell script here to determine the info
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment