Merge pull request #172177 from a-m-joseph/pr/psensor-fix-zhf

psensor: add -Wno-error due to increasing compiler strictness
This commit is contained in:
davidak 2022-05-09 14:52:29 +02:00 committed by GitHub
commit af2ea9a4e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
];
preConfigure = ''
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libXNVCtrl}/include"
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libXNVCtrl}/include -Wno-error"
NIX_LDFLAGS="$NIX_LDFLAGS -L${libXNVCtrl}/lib"
'';