Merge pull request #220931 from mrene/fix-yuzu-early-access

yuzu-early-access: fix build error due to warning as errors
This commit is contained in:
Ilan Joselevich 2023-04-01 01:48:11 +03:00 committed by GitHub
commit cbdaedf815
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,6 +87,11 @@ stdenv.mkDerivation rec {
# making the build fail, as that path does not exist
dontFixCmake = true;
# -Werror causes build failures for deprecation warnings introduced by transitive dependency updates
postPatch = ''
sed -i '/-Werror/d' src/common/CMakeLists.txt
'';
cmakeFlags = [
"-DYUZU_USE_BUNDLED_QT=OFF"
"-DYUZU_USE_BUNDLED_FFMPEG=OFF"