Skip to content

config.{sub,guess} are out of date #321

@evaleev

Description

@evaleev
          anyone wanting to generate `./configure` on Apple Silicon, this gets past the unrecognized machine error.
diff --git a/bin/config.sub b/bin/config.sub
index a44fd8ae..32495efa 100644
--- a/bin/config.sub
+++ b/bin/config.sub
@@ -1101,6 +1101,9 @@ case $cpu-$vendor in
        x64-*)
                cpu=x86_64
                ;;
+       arm64-*)
+               cpu=arm
+               ;;
        xscale-* | xscalee[bl]-*)
                cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
                ;;

Originally posted by @loriab in #318 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions