libbladeRF: fix build with clang 16
This commit is contained in:
parent
4ffe4a5586
commit
75e44d5619
@ -35,6 +35,10 @@ stdenv.mkDerivation rec {
|
||||
"-DBLADERF_GROUP=bladerf"
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=unused-but-set-variable";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "fortify" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user