3
# Assume Forte is installed in /opt/SUNWSpro and ld is installed in
6
PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin:/opt/csw/bin:$PATH
8
prefix="/usr/local/mysql"
9
if test -n "$MYSQL_BUILD_PREFIX"
11
prefix="$MYSQL_BUILD_PREFIX"
14
make -k maintainer-clean || true
15
/bin/rm -f */.deps/*.P config.cache
20
# For "optimal" code for this computer add -fast to EXTRA
21
# To compile 32/64 bit, uncomment/comment EXTRA_64_BIT
24
EXTRA="-fast" # Remove comment to target current machine
27
# The following should not need to be touched
30
STD="-mt -D_FORTEC_ $EXTRA $EXTRA_64_BIT"
31
CC=cc-5.0 CFLAGS="-Xa -xstrconst $STD" \
32
CXX=CC CXXFLAGS="-noex $STD" LIBS="-lmtmalloc" \
33
./configure --prefix=/usr/local/mysql --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --prefix=$PREFIX