mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
cbatticon: Fix build by removing -Wno-format
This conflicts with -Werror=format-security and the build doesn't have any format security problems, so -Wno-format IMHO shouldn't be there in the first place. Signed-off-by: aszlig <aszlig@nix.build> Cc: @domenkozar
This commit is contained in:
parent
79b33a2c00
commit
b70ccf8a7b
|
@ -12,6 +12,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "16g26vin1693dbdr9qsnw36fdchx394lp79gvp7gcbw0w1ny9av6";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e 's/ -Wno-format//g' Makefile
|
||||
'';
|
||||
|
||||
makeFlags = "PREFIX=$(out)";
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gettext ];
|
||||
|
|
Loading…
Reference in a new issue