summaryrefslogtreecommitdiff
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-16 05:20:58 +0200
committerStephen Kelly <steveire@gmail.com>2015-05-18 20:03:49 +0200
commita97df5e13566cc2ccbaf51a395b85b03b363a07f (patch)
tree410a43d766c6e8b51e4b566d2df048127d439fe8 /Source/cmLocalUnixMakefileGenerator3.cxx
parent14f171c3ba1f996f8c97b9373fc58cbe34e97d6f (diff)
downloadcmake-a97df5e13566cc2ccbaf51a395b85b03b363a07f.tar.gz
cmGlobalUnixMakefileGenerator3: Host the PassMakeflags.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 39b35a40b8..cb4d8cf43f 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -85,7 +85,6 @@ cmLocalUnixMakefileGenerator3(cmGlobalGenerator* gg, cmLocalGenerator* parent)
{
this->MakefileVariableSize = 0;
this->IgnoreLibPrefix = false;
- this->PassMakeflags = false;
this->UnixCD = true;
this->ColorMakefile = false;
this->SkipPreprocessedSourceRules = false;
@@ -2154,7 +2153,9 @@ cmLocalUnixMakefileGenerator3
// sub-invoked makes via an environment variable. However, some
// makes do not support that, so you have to pass the flags
// explicitly.
- if(this->GetPassMakeflags())
+ cmGlobalUnixMakefileGenerator3* gg =
+ static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator);
+ if(gg->PassMakeflags)
{
cmd += "-$(MAKEFLAGS) ";
}