From 1f068f8bd92930943e0cd9bfc2c632b114d445c0 Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Tue, 15 Dec 2020 04:12:21 +0000 Subject: [PATCH] ci: fiddle with macos CFLAGS to work around apparent clang bug See https://github.com/ElementsProject/elements/issues/782 --- ci/test/00_setup_env_mac_host.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/test/00_setup_env_mac_host.sh b/ci/test/00_setup_env_mac_host.sh index 7c25a34cfe..5c4cf0fce7 100644 --- a/ci/test/00_setup_env_mac_host.sh +++ b/ci/test/00_setup_env_mac_host.sh @@ -9,7 +9,8 @@ export LC_ALL=C.UTF-8 export HOST=x86_64-apple-darwin16 export PIP_PACKAGES="zmq" export GOAL="install" -export BITCOIN_CONFIG="--with-gui --enable-reduce-exports --enable-werror --with-boost-process" +# ELEMENTS: add -fno-stack-check to work around clang bug on macos +export BITCOIN_CONFIG="--with-gui --enable-reduce-exports --enable-werror --with-boost-process CXXFLAGS=-fno-stack-check" export CI_OS_NAME="macos" export NO_DEPENDS=1 export OSX_SDK=""