Merge pull request #199122 from trofi/cvise-without-werror

cvise: disable blanket -Werror
This commit is contained in:
Sergei Trofimovich
2022-11-05 10:16:48 +00:00
committed by GitHub
@@ -32,6 +32,11 @@ buildPythonApplication rec {
];
postPatch = ''
# Avoid blanket -Werror to evade build failures on less
# tested compilers.
substituteInPlace CMakeLists.txt \
--replace " -Werror " " "
# 'cvise --command=...' generates a script with hardcoded shebang.
substituteInPlace cvise.py \
--replace "#!/bin/bash" "#!${bash}/bin/bash"