1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00
nixpkgs/pkgs/tools/compression/upx
Sergei Trofimovich eb49b17a0f upx: disable blanket -Werror (fix gcc-11 build)
On gcc-11 build fails as:

```
$ nix-build -E 'with import ./.{}; upx.override { stdenv = gcc11Stdenv; }'
...
  ./../src/lzma-sdk/C/7zip/Compress/LZMA/../../../Common/MyCom.h:159:32:
    error: this 'if' clause does not guard... [-Werror=misleading-indentation]
  159 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0)  \
      |                                ^~
```
2021-09-22 09:15:09 +01:00
..
default.nix