diff options
author | luigi1111 <luigi1111w@gmail.com> | 2024-05-20 23:14:32 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2024-05-20 23:14:32 -0500 |
commit | c5cb0d30940d5451400d0f31d7bf68e455c983dc (patch) | |
tree | c5a6f2f578e873175e72768cc651afc91267b30f | |
parent | Merge pull request #9199 (diff) | |
parent | depends: native_cctools: don't embed build date (diff) | |
download | monero-c5cb0d30940d5451400d0f31d7bf68e455c983dc.tar.xz |
Merge pull request #9200
3d2b6a8 depends: native_cctools: don't embed build date (tobtoht)
-rw-r--r-- | contrib/depends/packages/native_cctools.mk | 5 | ||||
-rw-r--r-- | contrib/depends/patches/native_cctools/no-build-date.patch | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/contrib/depends/packages/native_cctools.mk b/contrib/depends/packages/native_cctools.mk index 0324f7acd..8c1ea4c62 100644 --- a/contrib/depends/packages/native_cctools.mk +++ b/contrib/depends/packages/native_cctools.mk @@ -6,6 +6,7 @@ $(package)_file_name=$(package)-$($(package)_version).tar.gz $(package)_sha256_hash=70a7189418c2086d20c299c5d59250cf5940782c778892ccc899c66516ed240e $(package)_build_subdir=cctools $(package)_dependencies=native_clang native_libtapi +$(package)_patches=no-build-date.patch define $(package)_set_vars $(package)_config_opts=--target=$(host) --disable-lto-support --with-libtapi=$(host_prefix) @@ -14,6 +15,10 @@ $(package)_cc=$(host_prefix)/native/bin/clang $(package)_cxx=$(host_prefix)/native/bin/clang++ endef +define $(package)_preprocess_cmds + patch -p1 < $($(package)_patch_dir)/no-build-date.patch +endef + define $(package)_config_cmds $($(package)_autoconf) 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 000000000..8b7d1e1f7 --- /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 ) { |