public
anonymous / hvt-darwin64-erlang
Created

  • Download Gist
hvt-darwin64-erlang
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
--- 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; }; }

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.