diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-16 03:20:58 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-18 18:03:49 (GMT) |
commit | a97df5e13566cc2ccbaf51a395b85b03b363a07f (patch) | |
tree | 410a43d766c6e8b51e4b566d2df048127d439fe8 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 14f171c3ba1f996f8c97b9373fc58cbe34e97d6f (diff) | |
download | CMake-a97df5e13566cc2ccbaf51a395b85b03b363a07f.zip CMake-a97df5e13566cc2ccbaf51a395b85b03b363a07f.tar.gz CMake-a97df5e13566cc2ccbaf51a395b85b03b363a07f.tar.bz2 |
cmGlobalUnixMakefileGenerator3: Host the PassMakeflags.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 39b35a4..cb4d8cf 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) "; } |