Skip to content

Commit

Permalink
Don't ignore failures from intermediate commands when building.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Moody committed Jul 17, 2024
1 parent aa48b6f commit 732dff9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions linux_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ SNDFILENAME=libsndfile-$SNDFILE_VERSION
OGG_INCDIR="$(pwd)/libogg-$OGGVERSION/include"
OGG_LIBDIR="$(pwd)/libogg-$OGGVERSION/src/.libs"

set -e

# make sure all static libraries are position-independent, so we can link them
# into the libsndfile.so later:
export CFLAGS="-fPIC"
Expand Down
2 changes: 2 additions & 0 deletions mac_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ SNDFILENAME=libsndfile-$SNDFILE_VERSION
OGG_INCDIR="$(pwd)/libogg-$OGGVERSION/include"
OGG_LIBDIR="$(pwd)/libogg-$OGGVERSION/src/.libs"

set -e

if [ "$1" = "arm64" ]; then
echo "Cross compiling for Darwin arm64.."
export MACOSX_DEPLOYMENT_TARGET=11.0
Expand Down

0 comments on commit 732dff9

Please sign in to comment.