diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2023-06-20 18:25:29 +0000 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2023-06-20 19:55:02 +0000 |
commit | 2a85857ce5cddd365353216960e2d5d76d6102b8 (patch) | |
tree | 4d2661646540ee2902f9a141c4c24e6f80eb1561 | |
parent | e4bbfb2d495291010914767321beb07ff5194b61 (diff) |
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.
-rwxr-xr-x | ci/test/00_setup_env_mac.sh | 5 |
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" |