Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
--- config.guess.orig 2010-01-02 20:51:35.000000000 -0500
+++ config.guess 2010-01-02 20:52:19.000000000 -0500
@@ -1259,6 +1259,10 @@ EOF
*:Darwin:*:*)
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
case $UNAME_PROCESSOR in
+ i386) eval $set_cc_for_build
+ if $CC_FOR_BUILD -E -dM -x c /dev/null | grep __LP64__>/dev/null 2>&1 ; then
+ UNAME_PROCESSOR=x86_64
+ fi ;;
unknown) UNAME_PROCESSOR=powerpc ;;
esac
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment