summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmake.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 86c6f9d..22e3f58 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -80,7 +80,8 @@ cmake::cmake()
// encode the MAKEFLAGS variable in a strange way.
if(getenv("MAKEFLAGS"))
{
- putenv("MAKEFLAGS=");
+ static char makeflags[] = "MAKEFLAGS=";
+ putenv(makeflags);
}
m_Local = false;