summaryrefslogtreecommitdiffstats
path: root/BUILD/compile-pentium64
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD/compile-pentium64')
-rwxr-xr-xBUILD/compile-pentium6414
1 files changed, 14 insertions, 0 deletions
diff --git a/BUILD/compile-pentium64 b/BUILD/compile-pentium64
new file mode 100755
index 00000000..01eb2adf
--- /dev/null
+++ b/BUILD/compile-pentium64
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+path=`dirname $0`
+. "$path/SETUP.sh"
+
+extra_flags="$pentium64_cflags $fast_cflags"
+# On CentOS/Fedora Core 10 amd64, there is system libz.so but not
+# libz.a, so need to use bundled zlib when building static
+# binary. Hence we use --with-zlib-dir=bundled
+extra_configs="$pentium_configs $static_link --with-zlib-dir=bundled"
+CC="$CC --pipe"
+strip=yes
+
+. "$path/FINISH.sh"