1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/os-specific/linux/libsemanage
Bas van Dijk 6005700c53 libsemanage: fix build by disabling clobbered warning
This turns the GCC clobbered error into a warning which should fix:

```
emanage_store.c: In function 'semanage_exec_prog':
semanage_store.c:1278:6: error: variable 'i' might be clobbered by 'longjmp' or 'vfork' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wclobbered-Werror=clobbered8;;]
 1278 |  int i;
      |      ^
cc1: all warnings being treated as errors
```
2021-02-08 14:25:44 +01:00
..
default.nix libsemanage: fix build by disabling clobbered warning 2021-02-08 14:25:44 +01:00