Created
November 11, 2009 17:09
-
-
Save anonymous/232115 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- otp_src_R13B02-1/configure 2009-09-21 11:29:51.000000000 +0200 | |
+++ otp_src_R13B02-1-hvt/configure 2009-11-11 19:02:24.000000000 +0200 | |
@@ -2702,7 +2702,7 @@ | |
export LDFLAGS | |
fi | |
if test X${enable_darwin_64bit} = Xyes; then | |
- if test X"$TMPSYS" '!=' X"Darwin-i386"; then | |
+ if test X"$TMPSYS" '!=' X"Darwin-i386" '-a' X"$TMPSYS" '!=' X"Darwin-x86_64"; then | |
{ { echo "$as_me:$LINENO: error: --enable-darwin-64bit only supported on x86 host" >&5 | |
echo "$as_me: error: --enable-darwin-64bit only supported on x86 host" >&2;} | |
{ (exit 1); exit 1; }; } | |
@@ -2712,7 +2712,7 @@ | |
export CFLAGS | |
LDFLAGS="-m64 $LDFLAGS" | |
export LDFLAGS | |
-elif test X"$TMPSYS" '=' X"Darwin-i386"; then | |
+elif test X"$TMPSYS" '=' X"Darwin-i386" '-o' X"$TMPSYS" '!=' X"Darwin-x86_64"; then | |
CFLAGS="-m32 $CFLAGS" | |
export CFLAGS | |
LDFLAGS="-m32 $LDFLAGS" | |
diff -r -u otp_src_R13B02-1/erts/configure otp_src_R13B02-1-hvt/erts/configure | |
--- otp_src_R13B02-1/erts/configure 2009-09-21 11:29:49.000000000 +0200 | |
+++ otp_src_R13B02-1-hvt/erts/configure 2009-11-11 19:05:49.000000000 +0200 | |
@@ -2803,7 +2803,7 @@ | |
esac | |
fi | |
if test X${enable_darwin_64bit} = Xyes; then | |
- if test X"$TMPSYS" '!=' X"Darwin-i386"; then | |
+ if test X"$TMPSYS" '!=' X"Darwin-i386" '-a' X"$TMPSYS" '!=' X"Darwin-x86_64"; then | |
{ { echo "$as_me:$LINENO: error: --enable-darwin-64bit only supported on x86 host" >&5 | |
echo "$as_me: error: --enable-darwin-64bit only supported on x86 host" >&2;} | |
{ (exit 1); exit 1; }; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment