Skip to content

Commit 2a85857

Browse files
committed
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.
1 parent e4bbfb2 commit 2a85857

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci/test/00_setup_env_mac.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ export XCODE_BUILD_ID=12B45b
1515
export RUN_UNIT_TESTS=false
1616
export RUN_FUNCTIONAL_TESTS=false
1717
export GOAL="deploy"
18-
export BITCOIN_CONFIG="--with-gui --enable-reduce-exports"
18+
19+
# False-positive warning is fixed with clang 17, remove this when that version
20+
# can be used.
21+
export BITCOIN_CONFIG="--with-gui --enable-reduce-exports LDFLAGS=-Wno-error=unused-command-line-argument"

0 commit comments

Comments
 (0)