python3Packages.cffi: use ccVersion in version check
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
co-authored by
Sandro
parent
486fdf6f49
commit
33bed7ab0f
@@ -56,7 +56,7 @@ else
|
||||
hash = "sha256-H5rFgRRTr27l5S6REo8+7dmPDQW7WXhP4f4DGZjdi+s=";
|
||||
})
|
||||
]
|
||||
++ lib.optionals (stdenv.cc.isClang && (ccVersion == "boot" || lib.versionAtLeast (lib.getVersion stdenv.cc) "13")) [
|
||||
++ lib.optionals (stdenv.cc.isClang && (ccVersion == "boot" || lib.versionAtLeast ccVersion "13")) [
|
||||
# -Wnull-pointer-subtraction is enabled with -Wextra. Suppress it to allow the following tests
|
||||
# to run and pass when cffi is built with newer versions of clang (including the bootstrap tools clang on Darwin):
|
||||
# - testing/cffi1/test_verify1.py::test_enum_usage
|
||||
|
||||
Reference in New Issue
Block a user