llvmPackages_{13,git}.clang: build clang-tools-extra
This is already done for previous versions of clang which use a release tarball, but must be done differently for the more recent versions which use fetchFromGitHub. Fixes clang-tools clangd wrapper
This commit is contained in:
parent
4dba55aec5
commit
dd8ad828de
2 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,8 @@ let
|
|||
];
|
||||
|
||||
postPatch = ''
|
||||
(cd tools && ln -s ../../clang-tools-extra extra)
|
||||
|
||||
sed -i -e 's/DriverArgs.hasArg(options::OPT_nostdlibinc)/true/' \
|
||||
-e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' \
|
||||
lib/Driver/ToolChains/*.cpp
|
||||
|
|
|
@ -44,6 +44,8 @@ let
|
|||
];
|
||||
|
||||
postPatch = ''
|
||||
(cd tools && ln -s ../../clang-tools-extra extra)
|
||||
|
||||
sed -i -e 's/DriverArgs.hasArg(options::OPT_nostdlibinc)/true/' \
|
||||
-e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' \
|
||||
lib/Driver/ToolChains/*.cpp
|
||||
|
|
Loading…
Reference in a new issue