summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-08-27 16:24:47 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-08-27 16:24:47 (GMT)
commit3b5ce4b88a072fac9298ea599e99ecd9cf973804 (patch)
treef7b3c201c9cdee12376cbe2ce13b32d1da9705c7 /Source/cmUnixMakefileGenerator.cxx
parent152fccf848b9d9df5f2ee19e8886ed68eb94732a (diff)
downloadCMake-3b5ce4b88a072fac9298ea599e99ecd9cf973804.zip
CMake-3b5ce4b88a072fac9298ea599e99ecd9cf973804.tar.gz
CMake-3b5ce4b88a072fac9298ea599e99ecd9cf973804.tar.bz2
*** empty log message ***
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 8b93f11..d5303fc 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -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