~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to BUILD/compile-solaris-amd64-forte-debug

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
3
gmake -k clean || true
 
4
/bin/rm -f */.deps/*.P config.cache
 
5
 
 
6
path=`dirname $0`
 
7
. "$path/autorun.sh"
 
8
 
 
9
# To compile 64 bit, add -m64 to EXTRA_64_BIT
 
10
EXTRA_64_BIT="-m64"
 
11
 
 
12
# For "optimal" code for this computer add -fast to EXTRA. Note that
 
13
# this causes problem with debugging the program since -fast implies
 
14
# -xO5.
 
15
EXTRA=""
 
16
 
 
17
#
 
18
# The following should not need to be touched
 
19
#
 
20
 
 
21
export CC CXX CFLAGS CXXFLAGS
 
22
STD="-g -mt -D_FORTEC_ $EXTRA $EXTRA_64_BIT $debug_cflags"
 
23
ASFLAGS="$EXTRA_64_BIT"
 
24
CC=cc-5.0
 
25
CFLAGS="-Xa -xstrconst $STD"
 
26
CXX=CC
 
27
CXXFLAGS="-noex $STD"
 
28
./configure \
 
29
    --prefix=/usr/local/mysql \
 
30
    --localstatedir=/usr/local/mysql/data \
 
31
    --libexecdir=/usr/local/mysql/bin \
 
32
    --with-extra-charsets=complex \
 
33
    --enable-thread-safe-client \
 
34
    --enable-local-infile \
 
35
    --with-zlib-dir=bundled \
 
36
    --with-big-tables \
 
37
    --with-readline \
 
38
    --with-archive-storage-engine \
 
39
    --with-named-curses=-lcurses \
 
40
    --with-big-tables \
 
41
    --with-innodb \
 
42
    --with-example-storage-engine \
 
43
    --with-blackhole-storage-engine \
 
44
    --with-federated-storage-engine \
 
45
    --with-csv-storage-engine \
 
46
    --with-ssl \
 
47
    --with-debug \
 
48
    --enable-assembler
 
49
 
 
50
# Not including:
 
51
#     --with-ndbcluster
 
52
#     --with-berkeley-db
 
53
 
 
54
gmake -j4