kitty: disable hardening feature based on more accurate condition
The `strictoverflow` hardening feature causes a build failure when using Clang as the compiler, not just on Darwin.
This commit is contained in:
parent
5d993eeb84
commit
11deddb7c8
@ -68,7 +68,7 @@ buildPythonApplication rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Causes build failure due to warning
|
# Causes build failure due to warning
|
||||||
hardeningDisable = stdenv.lib.optional stdenv.isDarwin "strictoverflow";
|
hardeningDisable = stdenv.lib.optional stdenv.cc.isClang "strictoverflow";
|
||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user