libvdwxc: fix build with gcc-14 (#368133)

This commit is contained in:
Markus Kowalewski
2024-12-27 12:07:00 +01:00
committed by GitHub
+3 -1
View File
@@ -30,10 +30,12 @@ stdenv.mkDerivation rec {
fftwMpi
];
# Required for compilation with gcc-14
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
preConfigure = ''
mkdir build && cd build
export PATH=$PATH:${mpi}/bin
configureFlagsArray+=(
--with-mpi=${lib.getDev mpi}
CC=mpicc