diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-07-28 08:57:57 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-07-28 08:57:57 -0400 |
commit | 015ff69c66af940561ea932f776a7ecbfd1ed77a (patch) | |
tree | 31cfdb02b2460f9970ea9ef4105c0ced3ecdc9a9 /Source | |
parent | 1756aa5780571879ffbc2f77c2ae04cc1953002b (diff) | |
download | cmake-015ff69c66af940561ea932f776a7ecbfd1ed77a.tar.gz |
ENH: move from main tree
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index c7c50cd716..c1486f3597 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -1213,10 +1213,6 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target, this->CreateString("mh_bundle")); buildSettings->AddAttribute("GCC_DYNAMIC_NO_PIC", this->CreateString("NO")); - buildSettings->AddAttribute("GCC_SYMBOLS_PRIVATE_EXTERN", - this->CreateString("NO")); - buildSettings->AddAttribute("GCC_INLINES_ARE_PRIVATE_EXTERN", - this->CreateString("NO")); // Add the flags to create an executable. std::string createFlags = this->LookupFlags("CMAKE_", lang, "_LINK_FLAGS", ""); @@ -1396,6 +1392,10 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target, this->CreateString(optLevel)); buildSettings->AddAttribute("OPTIMIZATION_CFLAGS", this->CreateString(oflagc.c_str())); + buildSettings->AddAttribute("GCC_SYMBOLS_PRIVATE_EXTERN", + this->CreateString("NO")); + buildSettings->AddAttribute("GCC_INLINES_ARE_PRIVATE_EXTERN", + this->CreateString("NO")); if(lang && strcmp(lang, "CXX") == 0) { flags += " "; |