clang_34: Disable hardening bits (#28543)

This commit is contained in:
Will Dietz 2017-09-01 12:08:25 -05:00
parent 799435b7ca
commit cc45a96aea

View file

@ -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 { };