mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
2009-09-18 Jack Howarth <howarth@bromo.med.uc.edu>
* config.guess (*:Darwin:*:*): Handle 64-bit compilers on i386.
This commit is contained in:
parent
06193442fa
commit
ccf975556a
@ -1,3 +1,7 @@
|
||||
2009-09-18 Jack Howarth <howarth@bromo.med.uc.edu>
|
||||
|
||||
* config.guess (*:Darwin:*:*): Handle 64-bit compilers on i386.
|
||||
|
||||
2009-09-18 Ben Elliston <bje@gnu.org>
|
||||
|
||||
* config.guess (i*86:Linux:*:*): Remove checks for whether the
|
||||
|
10
config.guess
vendored
10
config.guess
vendored
@ -1198,6 +1198,16 @@ EOF
|
||||
*:Darwin:*:*)
|
||||
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
||||
case $UNAME_PROCESSOR in
|
||||
i386)
|
||||
eval $set_cc_for_build
|
||||
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
||||
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
||||
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
||||
grep IS_64BIT_ARCH >/dev/null
|
||||
then
|
||||
UNAME_PROCESSOR="x86_64"
|
||||
fi
|
||||
fi ;;
|
||||
unknown) UNAME_PROCESSOR=powerpc ;;
|
||||
esac
|
||||
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
||||
|
Loading…
x
Reference in New Issue
Block a user