mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-05 12:34:00 +00:00
44165d3657
Fix header search paths as #153963
19 lines
464 B
Diff
19 lines
464 B
Diff
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
|
|
index 3bfddeefc7b2..05b11d9e562d 100644
|
|
--- a/lib/Driver/Driver.cpp
|
|
+++ b/lib/Driver/Driver.cpp
|
|
@@ -482,6 +482,13 @@ DerivedArgList *Driver::TranslateInputArgs(const InputArgList &Args) const {
|
|
}
|
|
#endif
|
|
|
|
+ {
|
|
+ Arg *A = DAL->MakeFlagArg(/*BaseArg=*/nullptr,
|
|
+ Opts.getOption(options::OPT_nostdlibinc));
|
|
+ A->claim();
|
|
+ DAL->append(A);
|
|
+ }
|
|
+
|
|
return DAL;
|
|
}
|
|
|