From 2b767c0bc972491d3e95bfbf476c9bea76839909 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Sun, 25 Dec 2022 21:59:05 +0100 Subject: [PATCH] depends: native_cctools: no build date --- contrib/depends/packages/native_cctools.mk | 2 ++ .../patches/native_cctools/no-build-date.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 contrib/depends/patches/native_cctools/no-build-date.patch diff --git a/contrib/depends/packages/native_cctools.mk b/contrib/depends/packages/native_cctools.mk index e711036..8ebfab9 100644 --- a/contrib/depends/packages/native_cctools.mk +++ b/contrib/depends/packages/native_cctools.mk @@ -5,6 +5,7 @@ $(package)_file_name=$($(package)_version).tar.gz $(package)_sha256_hash=6b73269efdf5c58a070e7357b66ee760501388549d6a12b423723f45888b074b $(package)_build_subdir=cctools $(package)_dependencies=native_libtapi +$(package)_patches=no-build-date.patch define $(package)_set_vars $(package)_config_opts=--target=$(host) @@ -17,6 +18,7 @@ define $(package)_set_vars endef define $(package)_preprocess_cmds + patch -p1 < $($(package)_patch_dir)/no-build-date.patch && \ cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub cctools endef diff --git a/contrib/depends/patches/native_cctools/no-build-date.patch b/contrib/depends/patches/native_cctools/no-build-date.patch new file mode 100644 index 0000000..8b7d1e1 --- /dev/null +++ b/contrib/depends/patches/native_cctools/no-build-date.patch @@ -0,0 +1,12 @@ +diff --git a/cctools/ld64/src/ld/Options.cpp b/cctools/ld64/src/ld/Options.cpp +index 3bb8324..033760d 100644 +--- a/cctools/ld64/src/ld/Options.cpp ++++ b/cctools/ld64/src/ld/Options.cpp +@@ -4279,7 +4279,6 @@ void Options::buildSearchPaths(int argc, const char* argv[]) + fVerbose = true; + extern const char ldVersionString[]; + fprintf(stderr, "%s", ldVersionString); +- fprintf(stderr, "BUILD " __TIME__ " " __DATE__"\n"); + fprintf(stderr, "configured to support archs: %s\n", ALL_SUPPORTED_ARCHS); + // if only -v specified, exit cleanly + if ( argc == 2 ) {