[cfe-commits] [PATCH] Correct AddDefaultCIncludePaths for OpenBSD
Brad Smith
brad at comstyle.com
Thu Aug 2 05:16:17 PDT 2012
Correct AddDefaultCIncludePaths for OpenBSD to not include /usr/local/include
in the default search path. Compilers on *BSD OS's only include /usr/include by
default.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------- next part --------------
Index: lib/Frontend/InitHeaderSearch.cpp
===================================================================
--- lib/Frontend/InitHeaderSearch.cpp (revision 161152)
+++ lib/Frontend/InitHeaderSearch.cpp (working copy)
@@ -217,6 +217,7 @@
switch (os) {
case llvm::Triple::FreeBSD:
case llvm::Triple::NetBSD:
+ case llvm::Triple::OpenBSD:
break;
default:
// FIXME: temporary hack: hard-coded paths.
More information about the cfe-commits
mailing list