summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/patches/patch-r221503-default-target-triple.diff
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-11-24 18:43:37 +0000
committerdim <dim@FreeBSD.org>2014-11-24 18:43:37 +0000
commit82ca21468e7fe6a5112961ba86434579bed3f204 (patch)
treec2772f1f62ff857fee7802d46eb79f45d45d6d54 /contrib/llvm/patches/patch-r221503-default-target-triple.diff
parent6148c19c738a92f344008aa3f88f4e008bada0ee (diff)
downloadFreeBSD-src-82ca21468e7fe6a5112961ba86434579bed3f204.zip
FreeBSD-src-82ca21468e7fe6a5112961ba86434579bed3f204.tar.gz
Cleanup patch set, and update README.TXT. Add three new patches.
Diffstat (limited to 'contrib/llvm/patches/patch-r221503-default-target-triple.diff')
-rw-r--r--contrib/llvm/patches/patch-r221503-default-target-triple.diff26
1 files changed, 0 insertions, 26 deletions
diff --git a/contrib/llvm/patches/patch-r221503-default-target-triple.diff b/contrib/llvm/patches/patch-r221503-default-target-triple.diff
deleted file mode 100644
index ee08af4..0000000
--- a/contrib/llvm/patches/patch-r221503-default-target-triple.diff
+++ /dev/null
@@ -1,26 +0,0 @@
-This patch ensures the target triple that is passed during the compiler build is
-respected, instead of mangling it.
-
-Introduced here: http://svnweb.freebsd.org/changeset/base/221503
-
-Index: lib/Support/Unix/Host.inc
-===================================================================
---- lib/Support/Unix/Host.inc
-+++ lib/Support/Unix/Host.inc
-@@ -26,6 +26,11 @@
-
- using namespace llvm;
-
-+#ifdef __FreeBSD__
-+std::string sys::getDefaultTargetTriple() {
-+ return LLVM_DEFAULT_TARGET_TRIPLE;
-+}
-+#else // __FreeBSD__
- static std::string getOSVersion() {
- struct utsname info;
-
-@@ -61,3 +66,4 @@ std::string sys::getDefaultTargetTriple() {
-
- return Triple;
- }
-+#endif // __FreeBSD__
OpenPOWER on IntegriCloud