diff options
author | unknown <monty@mysql.com> | 2005-01-25 14:00:35 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2005-01-25 14:00:35 +0200 |
commit | 2ade7521b572e4f1b71f66a4d0d80c10b50c6229 (patch) | |
tree | 9f34d6257c07bc86549af4ae0b48f01115498db2 /BUILD | |
parent | 985805ce6afefaf2715732809aa00c5396990662 (diff) | |
download | mariadb-git-2ade7521b572e4f1b71f66a4d0d80c10b50c6229.tar.gz |
Add flags for Intel 64 bit
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD/SETUP.sh | 3 | ||||
-rwxr-xr-x | BUILD/compile-pentium64-debug | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh index 5f4233b8371..d378276a0a3 100644 --- a/BUILD/SETUP.sh +++ b/BUILD/SETUP.sh @@ -1,3 +1,5 @@ +#!/bin/sh + if ! test -f sql/mysqld.cc then echo "You must run this script from the MySQL top-level directory" @@ -43,6 +45,7 @@ cxx_warnings="$global_warnings -Woverloaded-virtual -Wsign-promo -Wreorder -Wcto alpha_cflags="-mcpu=ev6 -Wa,-mev6" # Not used yet pentium_cflags="-mcpu=pentiumpro" +pentium64_cflags="-mcpu=nocona -m64" ppc_cflags="-mpowerpc -mcpu=powerpc" sparc_cflags="" diff --git a/BUILD/compile-pentium64-debug b/BUILD/compile-pentium64-debug new file mode 100755 index 00000000000..1bbca36d851 --- /dev/null +++ b/BUILD/compile-pentium64-debug @@ -0,0 +1,13 @@ +#! /bin/sh + +path=`dirname $0` +. "$path/SETUP.sh" + +extra_flags="$pentium64_cflags $debug_cflags" +c_warnings="$c_warnings $debug_extra_warnings" +cxx_warnings="$cxx_warnings $debug_extra_warnings" +extra_configs="$pentium_configs $debug_configs $static_link" + +extra_configs="$extra_configs " + +. "$path/FINISH.sh" |