diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-01-26 01:45:19 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-01-26 01:45:19 +0000 |
commit | 816bc31ed45002de2547d6679b44f31eb85ec491 (patch) | |
tree | b012fbf313afbb13b281e9b070e0ed96e5bfad64 /lib/Driver/ToolChains.h | |
parent | 21ae3196c9677a79523d294f9a62a4788ba40694 (diff) |
Driver/Darwin: Honor IPHONEOS_DEPLOYMENT_TARGET.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.h')
-rw-r--r-- | lib/Driver/ToolChains.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Driver/ToolChains.h b/lib/Driver/ToolChains.h index 3ca6ad8897..89478d5f15 100644 --- a/lib/Driver/ToolChains.h +++ b/lib/Driver/ToolChains.h @@ -54,11 +54,15 @@ class VISIBILITY_HIDDEN Darwin : public ToolChain { // // FIXME: This should go away, such differences should be completely // determined by the target triple. + // + // FIXME: It is also broken, we need to distinguish the "default target" from + // the actual target. The -m...-version-min strings and deployment targets can + // change this. bool IsIPhoneOS; /// The default macosx-version-min of this tool chain; empty until /// initialized. - mutable std::string MacosxVersionMin; + std::string MacosxVersionMin; /// The default iphoneos-version-min of this tool chain. std::string IPhoneOSVersionMin; |