From 52f04119f976661bcc997f34db4387e0b5b085da Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Tue, 9 Jan 2024 16:56:44 +0300 Subject: [PATCH] build: Disable miner for Windows binaries built via Guix (#5801) ## Issue being fixed or feature implemented We had this in Gitian https://github.com/dashpay/dash/blob/master/contrib/gitian-descriptors/gitian-win.yml#L38. We also had it for macos https://github.com/dashpay/dash/blob/master/contrib/gitian-descriptors/gitian-osx.yml#L42 but it looks like it's no longer an issue there (or at least I did not see anyone complaining about it). ## What was done? tweak `CONFIGFLAGS` for `mingw` host ## How Has This Been Tested? n/a ## Breaking Changes n/a ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ --- contrib/guix/libexec/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh index a85d9bc921d16..0755764869b88 100644 --- a/contrib/guix/libexec/build.sh +++ b/contrib/guix/libexec/build.sh @@ -237,6 +237,7 @@ mkdir -p "$OUTDIR" CONFIGFLAGS+=" --enable-reduce-exports --disable-bench --disable-gui-tests --disable-fuzz-binary" case "$HOST" in *linux*) CONFIGFLAGS+=" --disable-threadlocal" ;; + *mingw*) CONFIGFLAGS+=" --disable-miner" ;; esac # CFLAGS