clang_34: Disable hardening bits (#28543)
This commit is contained in:
parent
799435b7ca
commit
cc45a96aea
1 changed files with 7 additions and 1 deletions
|
@ -5242,7 +5242,13 @@ with pkgs;
|
|||
clang_38 = llvmPackages_38.clang;
|
||||
clang_37 = llvmPackages_37.clang;
|
||||
clang_35 = wrapCC llvmPackages_35.clang;
|
||||
clang_34 = wrapCC llvmPackages_34.clang;
|
||||
clang_34 = (wrapCC llvmPackages_34.clang).override {
|
||||
# Default cc-wrapper's hardening flags don't work with clang-3.4,
|
||||
# so just remove it entirely for this wrapper.
|
||||
extraBuildCommands = ''
|
||||
:> $out/nix-support/add-hardening.sh
|
||||
'';
|
||||
};
|
||||
|
||||
clang-tools = callPackage ../development/tools/clang-tools { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue