Skip to content

Instantly share code, notes, and snippets.

Created November 11, 2009 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/232115 to your computer and use it in GitHub Desktop.
Save anonymous/232115 to your computer and use it in GitHub Desktop.
--- 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