aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/packages/native_cctools.mk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/depends/packages/native_cctools.mk')
-rw-r--r--contrib/depends/packages/native_cctools.mk5
1 files changed, 5 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