Page MenuHomeFreeBSD

D40943.1793718436.diff
No OneTemporary

Authored By
Unknown
Size
942 B
Referenced Files
None
Subscribers
None

D40943.1793718436.diff

diff --git a/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.cpp b/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.cpp
--- a/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.cpp
+++ b/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.cpp
@@ -377,8 +377,7 @@
// When targeting 32-bit platforms, look for '/usr/lib32/crt1.o' and fall
// back to '/usr/lib' if it doesn't exist.
- if ((Triple.getArch() == llvm::Triple::x86 || Triple.isMIPS32() ||
- Triple.isPPC32()) &&
+ if (Triple.isArch32Bit() &&
D.getVFS().exists(concat(getDriver().SysRoot, "/usr/lib32/crt1.o")))
getFilePaths().push_back(concat(getDriver().SysRoot, "/usr/lib32"));
else
diff --git a/lib/clang/freebsd_cc_version.h b/lib/clang/freebsd_cc_version.h
--- a/lib/clang/freebsd_cc_version.h
+++ b/lib/clang/freebsd_cc_version.h
@@ -1 +1 @@
-#define FREEBSD_CC_VERSION 1400005
+#define FREEBSD_CC_VERSION 1400006

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 3, 3:07 PM (6 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41352734
Default Alt Text
D40943.1793718436.diff (942 B)

Event Timeline