The checked out libz/libz/zconf.h will be overwritten during the build process but these changes should be ignored. To do this automatically, run: git update-index --assume-unchanged libz/libz/zconf.h