Skip to content

Commit

Permalink
Error out of configure if libunwind build fails.
Browse files Browse the repository at this point in the history
Former-commit-id: 1cfc6998a33c86bb4654e466d355a84c437f9ea2
  • Loading branch information
wspear committed Feb 24, 2025
1 parent 364a3ac commit d1b5c65
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1b5c65

Please sign in to comment.