Merge #77526: krita: set -Wno-deprecated-copy for gcc

This reduces the build log length to fix the build on the Hydra.
This commit is contained in:
Vladimír Čunát 2020-01-11 21:54:33 +01:00
commit 7048b566c1
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -28,7 +28,8 @@ mkDerivation rec {
python3Packages.pyqt5
] ++ lib.optional (stdenv.hostPlatform.isi686 || stdenv.hostPlatform.isx86_64) vc;
NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ];
NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ]
++ lib.optional stdenv.cc.isGNU "-Wno-deprecated-copy";
cmakeFlags = [
"-DPYQT5_SIP_DIR=${python3Packages.pyqt5}/share/sip/PyQt5"