mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 08:17:03 +00:00
Omit build date from gzip headers
See https://reproducible-builds.org/ for why this is good. This patch was done while working on reproducible builds for openSUSE.
This commit is contained in:
@@ -101,7 +101,7 @@ compress_libs() {
|
|||||||
pids=""
|
pids=""
|
||||||
rm -rf ${BUILD_DIR}/lib/*.${LIB_EXT}*.gz
|
rm -rf ${BUILD_DIR}/lib/*.${LIB_EXT}*.gz
|
||||||
for lib in ${BUILD_DIR}/lib/*.${LIB_EXT}* ; do
|
for lib in ${BUILD_DIR}/lib/*.${LIB_EXT}* ; do
|
||||||
gzip --best -f ${lib} &
|
gzip -n --best -f ${lib} &
|
||||||
pids+=" $!"
|
pids+=" $!"
|
||||||
done
|
done
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user