about summary refs log tree commit diff
path: root/pkgs/build-support/cc-wrapper
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-08-25 18:01:48 +0000
committerGitHub <noreply@github.com>2022-08-25 18:01:48 +0000
commitefe19ddf3b262e5d7b626c4cad6d690c110fb6a3 (patch)
tree9eaf405056964d965821d0e37a4bcc06456c2f38 /pkgs/build-support/cc-wrapper
parent187be07f46ed2c129f074631971d1586d4acb371 (diff)
parent0b8aa77df10e1750f7f91fe4bdfa24685792c964 (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/build-support/cc-wrapper')
-rw-r--r--pkgs/build-support/cc-wrapper/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix
index 797a735f5a6ee..14cd1d4313916 100644
--- a/pkgs/build-support/cc-wrapper/default.nix
+++ b/pkgs/build-support/cc-wrapper/default.nix
@@ -489,6 +489,8 @@ stdenv.mkDerivation {
       hardening_unsupported_flags+=" format"
     '' + optionalString targetPlatform.isWasm ''
       hardening_unsupported_flags+=" stackprotector fortify pie pic"
+    '' + optionalString targetPlatform.isMicroBlaze ''
+      hardening_unsupported_flags+=" stackprotector"
     ''
 
     + optionalString (libc != null && targetPlatform.isAvr) ''