summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2012-01-20 22:01:23 +0000
committerSebastian Pop <spop@codeaurora.org>2012-01-20 22:01:23 +0000
commit422377cfd3a8e7ff74eba5db22540cd8d0c42807 (patch)
treea08e2b2459a37470efe08118af7cd531e536317b /clang/lib
parente7b9d4342b10d8bff6e0ae38c80ef27877ebd73a (diff)
downloadbcm5719-llvm-422377cfd3a8e7ff74eba5db22540cd8d0c42807.tar.gz
bcm5719-llvm-422377cfd3a8e7ff74eba5db22540cd8d0c42807.zip
rename -ccc-host-triple into -target
llvm-svn: 148582
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Basic/Targets.cpp2
-rw-r--r--clang/lib/Driver/Driver.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp
index d050c53ce59..f0e3bc4b74a 100644
--- a/clang/lib/Basic/Targets.cpp
+++ b/clang/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/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index c70e5c06bd4..8699a92228b 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -306,7 +306,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);
OpenPOWER on IntegriCloud