3
# Assume Forte is installed in /opt/SUNWSpro and ld is installed in
6
# Example PATH. You will need to use CC from forte, but use GNU for pretty much everything else
7
# PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin:/opt/csw/bin:$PATH
9
PREFIX="/usr/local/mysql"
10
if test -n "$MYSQL_BUILD_PREFIX"
12
PREFIX="$MYSQL_BUILD_PREFIX"
15
make -k maintainer-clean || true
16
/bin/rm -f */.deps/*.P config.cache
21
# For "optimal" code for this computer add -fast to EXTRA
22
# To compile 32/64 bit, uncomment/comment EXTRA_64_BIT
25
EXTRA="-fast" # Remove comment to target current machine
28
# The following should not need to be touched
31
STD="-mt -D_FORTEC_ $EXTRA $EXTRA_64_BIT"
32
CC=cc-5.0 CFLAGS="-Xa -xstrconst $STD" \
34
CXX=CC CXXFLAGS="-noex $STD" \
35
./configure --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --prefix=$PREFIX --with-plugins=max --enable-dtrace