nixpkgs-suyu/pkgs/development/compilers/gcc
Robert Scott 4a91b3e798 cc-wrapper: add trivialautovarinit hardening flag support
this equates to -ftrivial-auto-var-init=pattern

clang has removed support for -ftrivial-auto-var-init=zero and
are unlikely to re-add it, so use -ftrivial-auto-var-init=pattern
on both compilers if only to make behaviour more consistent
between the two.

add to pkgsExtraHardening's defaultHardeningFlags.
2024-02-24 12:00:09 +00:00
..
common Merge remote-tracking branch 'origin/staging-next' into staging 2024-01-18 19:15:32 +03:00
patches gcc: amend __FILE__ mangling patch to only affect -fmacro-prefix-map= 2024-02-02 20:59:41 +00:00
all.nix gcc48: disable on x86_64-darwin 2023-11-08 07:32:47 +00:00
default.nix cc-wrapper: add trivialautovarinit hardening flag support 2024-02-24 12:00:09 +00:00
versions.nix gcc: move version information to gcc/versions.nix 2023-11-07 09:57:54 +00:00