From d1b5c65ac14dffb4b52ed0fedd32f19a00b0cfe5 Mon Sep 17 00:00:00 2001 From: Wyatt Spear Date: Mon, 24 Feb 2025 15:40:20 -0800 Subject: [PATCH] Error out of configure if libunwind build fails. Former-commit-id: 1cfc6998a33c86bb4654e466d355a84c437f9ea2 --- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 8f7e577b5..302a34aa6 100755 --- a/configure +++ b/configure @@ -8554,13 +8554,16 @@ if [ "x$download_unwind" = xyes ] ; then if [ $configresult -eq 0 ] ; then libunwind_log=build.log echo "building ${libunwind}... (see `pwd`/${libunwind_log} for log)..." - make -i > $libunwind_log 2>&1 + make > $libunwind_log 2>&1 makeresult=$? if [ $makeresult -eq 0 ] ; then libunwind_log=install.log echo "installing ${libunwind} to ${unwind_dir}... (see `pwd`/${libunwind_log} for log)..." - make -i install > $libunwind_log 2>&1 + make install > $libunwind_log 2>&1 makeresult=$? + else + echo "libunwind build failed" + exit 1 fi fi if [ $machine = arm64_linux ]; then