Skip to content

Commit

Permalink
clang_34: Disable hardening bits (#28543)
Browse files Browse the repository at this point in the history
(cherry picked from commit cc45a96)
  • Loading branch information
dtzWill authored and Mic92 committed Sep 1, 2017
1 parent 9c3a136 commit 0fd7ef6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -5240,7 +5240,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 { };

Expand Down

0 comments on commit 0fd7ef6

Please sign in to comment.