diff --git a/libxc.spec b/libxc.spec index 83a294c..0171d04 100644 --- a/libxc.spec +++ b/libxc.spec @@ -116,6 +116,8 @@ sed -i "s|@SOVERSION@|%{soversion}|g" pylibxc/core.py %build # Don't insert C code during preprocessing export FCCPP="cpp -ffreestanding" +# Disable var tracking assignments for C sources, since it fails anyhow due to the size of the sources +export CFLAGS="%{optflags} -fnovar-tracking-assignments" %configure --enable-shared --disable-static --enable-vxc --enable-fxc --enable-kxc --enable-lxc # Remove rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool