[clang] 9dcf6b1 - [PS4/PS5] Remove C_INCLUDE_DIRS handling
Paul Robinson via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 9 09:27:00 PST 2023
Author: Paul Robinson
Date: 2023-03-09T09:26:50-08:00
New Revision: 9dcf6b19daf8980a02a5b9206126b3eff7a37e01
URL: https://github.com/llvm/llvm-project/commit/9dcf6b19daf8980a02a5b9206126b3eff7a37e01
DIFF: https://github.com/llvm/llvm-project/commit/9dcf6b19daf8980a02a5b9206126b3eff7a37e01.diff
LOG: [PS4/PS5] Remove C_INCLUDE_DIRS handling
We don't configure this way and don't intend to.
Added:
Modified:
clang/lib/Driver/ToolChains/PS4CPU.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/PS4CPU.cpp b/clang/lib/Driver/ToolChains/PS4CPU.cpp
index fc5d46bc25605..b3e14618f307e 100644
--- a/clang/lib/Driver/ToolChains/PS4CPU.cpp
+++ b/clang/lib/Driver/ToolChains/PS4CPU.cpp
@@ -304,19 +304,6 @@ void toolchains::PS4PS5Base::AddClangSystemIncludeArgs(
if (DriverArgs.hasArg(options::OPT_nostdlibinc))
return;
- // Add dirs specified via 'configure --with-c-include-dirs'.
- StringRef CIncludeDirs(C_INCLUDE_DIRS);
- if (!CIncludeDirs.empty()) {
- SmallVector<StringRef, 5> dirs;
- CIncludeDirs.split(dirs, ":");
- for (StringRef dir : dirs) {
- StringRef Prefix =
- llvm::sys::path::is_absolute(dir) ? StringRef(D.SysRoot) : "";
- addExternCSystemInclude(DriverArgs, CC1Args, Prefix + dir);
- }
- return;
- }
-
addExternCSystemInclude(DriverArgs, CC1Args,
SDKRootDir + "/target/include");
addExternCSystemInclude(DriverArgs, CC1Args,
More information about the cfe-commits
mailing list