diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-07-12 13:44:38 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-07-12 13:44:38 (GMT) |
commit | 0416c94f6415101e93e9dc3f83d666926ee2da16 (patch) | |
tree | 3bf49a6bd00fb0868f90c9c5ee520e0648102f49 /Source/cmMakefileTargetGenerator.cxx | |
parent | 4dc515f8e16f0a924fb7f941c1cfe704dea9e785 (diff) | |
download | CMake-0416c94f6415101e93e9dc3f83d666926ee2da16.zip CMake-0416c94f6415101e93e9dc3f83d666926ee2da16.tar.gz CMake-0416c94f6415101e93e9dc3f83d666926ee2da16.tar.bz2 |
Revert "Use --sysroot when cross compiling."
This reverts commit de4da665d3205afa239749c41513a315c3831f51.
This feature is not yet ready for release. It needs to be
merged with the CMAKE_OSX_SYSROOT feature.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 1492dfa..513b8e3 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -644,23 +644,6 @@ cmMakefileTargetGenerator cmLocalGenerator::START_OUTPUT, cmLocalGenerator::SHELL); vars.ObjectDir = objectDir.c_str(); - - if (const char *rootPath = - this->Makefile->GetSafeDefinition("CMAKE_SYSROOT")) - { - if (*rootPath) - { - if (const char *sysrootFlag = - this->Makefile->GetDefinition("CMAKE_SYSROOT_FLAG")) - { - flags += " "; - flags += sysrootFlag; - flags += this->LocalGenerator->EscapeForShell(rootPath); - flags += " "; - } - } - } - vars.Flags = flags.c_str(); std::string definesString = "$("; |