Skip to content

Commit

Permalink
Do not set target_alias if unset
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jan 22, 2021
1 parent c8121b2 commit c3244a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ AC_CANONICAL_TARGET
AS_CASE(["$target_cpu-$target_os"],
[aarch64-darwin*], [
target_cpu=arm64
AS_CASE(["$target_vendor"], [unknown], [target_vendor=apple])
target="$target_cpu-$target_vendor-$target_os"
target_alias="$target_cpu-$target_os"
AS_CASE(["$target_vendor"], [unknown], [target_vendor=apple target=${target/-unknown-/-apple-}])
target="${target/aarch64/arm64}"
target_alias="${target_alias/aarch64/arm64}"
])

AC_ARG_PROGRAM
Expand Down

0 comments on commit c3244a3

Please sign in to comment.