#!/bin/bash # CXX=gcc CFLAGS="-O2 -march=pentium3 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \ -D_LARGEFILE_SOURCE -fno-strict-aliasing -fPIC" CXXFLAGS="-O2 -march=pentium3 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \ -D_LARGEFILE_SOURCE -fno-strict-aliasing -fPIC \ -felide-constructors -fno-exceptions -fno-rtti" export CXX CFLAGS CXXFLAGS # ./configure --sysconfdir=/etc \ --localstatedir=/var/lib/mysql \ --disable-dependency-tracking \ --enable-shared \ --enable-thread-safe-client \ --enable-local-infile \ --enable-largefile \ --with-charset=binary \ --with-extra-charsets=complex \ --with-pic \ --with-named-thread-libs="-lpthread" \ --with-unix-socket-path=/var/lib/mysql/mysql.sock \ --with-mysqld-user="mysql" \ --with-zlib-dir=bundled \ --with-libwrap \ --without-debug \ --with-big-tables \ --with-ssl=/usr \ --with-plugins=innobase \ --with-embedded-server \ --with-readline # CXX="" CFLAGS="" CXXFLAGS="" export CXX CFLAGS CXXFLAGS