diff options
author | Sebastian Pop <spop@codeaurora.org> | 2012-01-13 20:37:02 +0000 |
---|---|---|
committer | Sebastian Pop <spop@codeaurora.org> | 2012-01-13 20:37:02 +0000 |
commit | edd4f3c39101912605c2a1868dd2be71aa218798 (patch) | |
tree | 3996d15c1eb423541f22e72c8d06cd995fe181bc /lib | |
parent | 9606a57b6f2c43bf438a958fdffea1de60f6b2b7 (diff) |
rename -ccc-host-triple into -target
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Basic/Targets.cpp | 2 | ||||
-rw-r--r-- | lib/Driver/Driver.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index f3d5550bb6..b08a3d30f1 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -148,7 +148,7 @@ static void getDarwinDefines(MacroBuilder &Builder, const LangOptions &Opts, } } - // If -ccc-host-triple arch-pc-win32-macho option specified, we're + // If -target arch-pc-win32-macho option specified, we're // generating code for Win32 ABI. No need to emit // __ENVIRONMENT_XX_OS_VERSION_MIN_REQUIRED__. if (PlatformName == "win32") { diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index ce4a89e724..19ed16c9d5 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -305,7 +305,7 @@ Compilation *Driver::BuildCompilation(ArrayRef<const char *> ArgList) { } // FIXME: We shouldn't overwrite the default host triple here, but we have // nowhere else to put this currently. - if (const Arg *A = Args->getLastArg(options::OPT_ccc_host_triple)) + if (const Arg *A = Args->getLastArg(options::OPT_target)) DefaultTargetTriple = A->getValue(*Args); if (const Arg *A = Args->getLastArg(options::OPT_ccc_install_dir)) Dir = InstalledDir = A->getValue(*Args); |