mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Changed -O6 to -O3
Portability fix for Innodb BUILD/compile-pentium-max: Change mode to -rwxrwxr-x BUILD/SETUP.sh: Changed -O6 to -O3 Docs/manual.texi: Changed -O6 to -O3 configure.in: Changed -O6 to -O3 Added test of pthread_yield (For Innodb) innobase/os/os0thread.c: Fix portability problem with RedHat 6.1 scripts/safe_mysqld.sh: Fix option --mysqld-version sql/gen_lex_hash.cc: Smaller array support-files/mysql.spec.sh: Changed -O6 to -O3
This commit is contained in:
@ -151,11 +151,11 @@ BuildMySQL() {
|
||||
# support assembler speedups.
|
||||
sh -c "PATH=\"${MYSQL_BUILD_PATH:-/bin:/usr/bin}\" \
|
||||
CC=\"${MYSQL_BUILD_CC:-egcs}\" \
|
||||
CFLAGS=\"${MYSQL_BUILD_CFLAGS:- -O6 -fno-omit-frame-pointer}\" \
|
||||
CFLAGS=\"${MYSQL_BUILD_CFLAGS:- -O3}\" \
|
||||
CXX=\"${MYSQL_BUILD_CXX:-egcs}\" \
|
||||
CXXFLAGS=\"${MYSQL_BUILD_CXXFLAGS:- -O6 \
|
||||
CXXFLAGS=\"${MYSQL_BUILD_CXXFLAGS:- -O3 \
|
||||
-felide-constructors -fno-exceptions -fno-rtti \
|
||||
-fno-omit-frame-pointer}\" \
|
||||
}\" \
|
||||
./configure \
|
||||
$* \
|
||||
--enable-assembler \
|
||||
|
Reference in New Issue
Block a user