1
by brian
clean slate |
1 |
#! /bin/sh
|
2 |
||
3 |
make -k clean || true |
|
4 |
/bin/rm -f */.deps/*.P config.cache |
|
5 |
||
6 |
# gcc is often in /usr/ccs/bin or /usr/local/bin
|
|
7 |
PATH=$PATH:/usr/ccs/bin:/usr/local/bin |
|
8 |
||
9 |
path=`dirname $0` |
|
10 |
. "$path/autorun.sh" |
|
11 |
||
12 |
CFLAGS="-g -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused -O3 -fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa" CXX=gcc CXXFLAGS="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloaded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -O3 -fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa -g" ./configure --prefix=/usr/local/mysql --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client |
|
13 |
||
14 |
make -j 4
|