getxbook: fix clang build
This commit is contained in:
parent
21108101a5
commit
5548ff174c
|
@ -9,11 +9,13 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0ihwrx4gspj8l7fc8vxch6dpjrw1lvv9z3c19f0wxnmnxhv1cjvs";
|
sha256 = "0ihwrx4gspj8l7fc8vxch6dpjrw1lvv9z3c19f0wxnmnxhv1cjvs";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = builtins.toString [
|
NIX_CFLAGS_COMPILE = builtins.toString (
|
||||||
"-Wno-error=format-truncation"
|
[ "-Wno-error=deprecated-declarations" ]
|
||||||
"-Wno-error=deprecated-declarations"
|
++ lib.optionals (!stdenv.cc.isClang) [
|
||||||
"-Wno-error=stringop-overflow"
|
"-Wno-error=format-truncation"
|
||||||
];
|
"-Wno-error=stringop-overflow"
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user