open-vm-tools: fix build with gcc9
This commit is contained in:
parent
cb08ffe4c5
commit
c124d44e49
@ -46,9 +46,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = [
|
||||||
# igrone glib-2.62 deprecations
|
# igrone glib-2.62 deprecations
|
||||||
# Drop in next stable release.
|
# Drop in next stable release.
|
||||||
NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ];
|
"-DGLIB_DISABLE_DEPRECATION_WARNINGS"
|
||||||
|
|
||||||
|
# fix build with gcc9
|
||||||
|
"-Wno-error=address-of-packed-member"
|
||||||
|
"-Wno-error=format-overflow"
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram "$out/etc/vmware-tools/scripts/vmware/network" \
|
wrapProgram "$out/etc/vmware-tools/scripts/vmware/network" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user