Skip to content

Commit 9230186

Browse files
authored
Ignore timestamps recording in gzip metadata (for reproducible builds) (netdata#20714)
1 parent b795f12 commit 9230186

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3805,7 +3805,7 @@ endif()
38053805
#
38063806

38073807
install(CODE "
3808-
execute_process(COMMAND gzip -c \"${CMAKE_BINARY_DIR}/CMakeCache.txt\"
3808+
execute_process(COMMAND gzip -nc \"${CMAKE_BINARY_DIR}/CMakeCache.txt\"
38093809
OUTPUT_FILE \"${BUILD_INFO_CMAKE_CACHE_ARCHIVE_NAME}\"
38103810
WORKING_DIRECTORY \"${CMAKE_BINARY_DIR}\"
38113811
RESULT_VARIABLE result)

0 commit comments

Comments
 (0)