Skip to content

Commit

Permalink
SL-20608: Use set_target shell function to fix macOS -target.
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-goodspeed committed Nov 15, 2023
1 parent eae4169 commit 3e1867b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ pushd "$CURL_BUILD_DIR"

darwin*)
opts="${TARGET_OPTS:--arch $AUTOBUILD_CONFIGURE_ARCH $LL_BUILD_RELEASE}"
# don't let CMake infer a -target different from -mminosx-version-min
opts="$(set_target $opts)"
plainopts="$(remove_cxxstd $opts)"

mkdir -p "$stage/lib/release"
Expand Down

0 comments on commit 3e1867b

Please sign in to comment.