about summary refs log tree commit diff
path: root/pkgs/development/compilers/llvm
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-02-27 11:37:40 +0000
committerAlyssa Ross <hi@alyssa.is>2023-02-28 10:53:33 +0000
commited209e627909e1034e6d2315497420ad648a32c9 (patch)
treeaca3c6bd4debea3e78789c753744d5644f540ac9 /pkgs/development/compilers/llvm
parentfc9356c8adbdb53ea5acf5a7d403e816aa4be1a0 (diff)
downloadnixlib-ed209e627909e1034e6d2315497420ad648a32c9.tar
nixlib-ed209e627909e1034e6d2315497420ad648a32c9.tar.gz
nixlib-ed209e627909e1034e6d2315497420ad648a32c9.tar.bz2
nixlib-ed209e627909e1034e6d2315497420ad648a32c9.tar.lz
nixlib-ed209e627909e1034e6d2315497420ad648a32c9.tar.xz
nixlib-ed209e627909e1034e6d2315497420ad648a32c9.tar.zst
nixlib-ed209e627909e1034e6d2315497420ad648a32c9.zip
clang_15: mark hardeningUnsupportedFlags fortify3
Port of 74ea4fe24fb ("llvm*Packages.clang: mark
hardeningUnsupportedFlags fortify3").
Diffstat (limited to 'pkgs/development/compilers/llvm')
-rw-r--r--pkgs/development/compilers/llvm/15/clang/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/compilers/llvm/15/clang/default.nix b/pkgs/development/compilers/llvm/15/clang/default.nix
index 5c1aef6eb3af..4963d0ecce60 100644
--- a/pkgs/development/compilers/llvm/15/clang/default.nix
+++ b/pkgs/development/compilers/llvm/15/clang/default.nix
@@ -84,8 +84,9 @@ let
     '';
 
     passthru = {
-      isClang = true;
       inherit libllvm;
+      isClang = true;
+      hardeningUnsupportedFlags = [ "fortify3" ];
     };
 
     meta = llvm_meta // {