aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2023-06-20 18:25:29 +0000
committerCory Fields <cory-nospam-@coryfields.com>2023-06-20 19:55:02 +0000
commit2a85857ce5cddd365353216960e2d5d76d6102b8 (patch)
tree4d2661646540ee2902f9a141c4c24e6f80eb1561 /ci
parente4bbfb2d495291010914767321beb07ff5194b61 (diff)
downloadbitcoin-2a85857ce5cddd365353216960e2d5d76d6102b8.tar.xz
ci: disable false-positive warnings for now
clang <=17 warns on -nostdlibinc, which causes an error on our -Werror builds. Note that this breaks the "-fPIE" check in configure because it relies on catching warnings, but that is not a problem for macOS.
Diffstat (limited to 'ci')
-rwxr-xr-xci/test/00_setup_env_mac.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/ci/test/00_setup_env_mac.sh b/ci/test/00_setup_env_mac.sh
index 6ae427fd42..65c6119fcd 100755
--- a/ci/test/00_setup_env_mac.sh
+++ b/ci/test/00_setup_env_mac.sh
@@ -15,4 +15,7 @@ export XCODE_BUILD_ID=12B45b
export RUN_UNIT_TESTS=false
export RUN_FUNCTIONAL_TESTS=false
export GOAL="deploy"
-export BITCOIN_CONFIG="--with-gui --enable-reduce-exports"
+
+# False-positive warning is fixed with clang 17, remove this when that version
+# can be used.
+export BITCOIN_CONFIG="--with-gui --enable-reduce-exports LDFLAGS=-Wno-error=unused-command-line-argument"