CFLAGS="-O3 -mpentiumpro -mstack-align-double"
CXX=gcc
CXXFLAGS="-O3 -mpentiumpro -mstack-align-double -felide-constructors -fno-exceptions -fno-rtti"
./configure --prefix=/usr/local/mysql5 \
--with-charset=utf8 \
--with-collation=utf8_general_ci \
--enable-thread-safe-client \
--with-extra-charsets=gbk,latin1 \
--with-client-ldflags=-all-static \
--with-mysqld-ldflags=-all-static \
--enable-assembler \
--with-unix-socket-path=/usr/local/mysql5/var/mysql.sock \
--sysconfdir=/usr/local/mysql5/etc --disable-shared
阅读(503) | 评论(0) | 转发(0) |