diff --git a/BUILD/compile-amd64-max b/BUILD/compile-amd64-max
new file mode 100644
index 0000000000000000000000000000000000000000..087dba7f94ae177780aee4dfc354faa92ba4e424
--- /dev/null
+++ b/BUILD/compile-amd64-max
@@ -0,0 +1,17 @@
+#! /bin/sh
+
+path=`dirname $0`
+. "$path/SETUP.sh"
+amd64_cflags="-DBIG_TABLES"
+amd64_cxx_flags="-DBIG_TABLES"
+amd64_configs=""
+base_cxxflags="$amd64_cxx_flags $base_cxxflags"
+extra_flags="$amd64_cflags $fast_cflags -g"
+extra_configs="$amd64_configs"
+#strip=yes
+
+extra_configs="$extra_configs --with-innodb --with-berkeley-db \
+        --with-embedded-server --enable-thread-safe-client \
+        --with-openssl --with-vio --with-raid --with-ndbcluster"
+
+. "$path/FINISH.sh"