mysql compile options

CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti -fomit-frame-pointer -ffixed-ebp" 

 

./configure  --prefix=/usr/local/mysql --enable-assembler --with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock --without-debug --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static --with-charset=gbk --with-collation=gbk_chinese_ci --with-extra-charsets=all

你可能感兴趣的:(mysql,unix,socket,gcc)