diff options
author | unknown <sasha@mysql.sashanet.com> | 2001-02-14 15:09:38 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2001-02-14 15:09:38 -0700 |
commit | e485707b55e8adfb2440b9b1716d8d4faafdda1a (patch) | |
tree | b1c28bbc435db7ebec3feeb54934df99222af8dc | |
parent | 9902850d2fd3046a8d70ac1bec0bdf5199d89fb8 (diff) | |
download | mariadb-git-e485707b55e8adfb2440b9b1716d8d4faafdda1a.tar.gz |
keep frame pointer
-rwxr-xr-x | Build-tools/Do-compile | 4 | ||||
-rw-r--r-- | support-files/mysql.spec.sh | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Build-tools/Do-compile b/Build-tools/Do-compile index 78f4128873f..b0951246c46 100755 --- a/Build-tools/Do-compile +++ b/Build-tools/Do-compile @@ -27,11 +27,11 @@ if (defined($gcc_version) && ! $opt_config_env) $tmp=`$gcc_version -v 2>&1`; if ($tmp =~ /version 2\.7\./) { - $opt_config_env= 'CC=gcc CFLAGS="-O2 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O2 -fomit-frame-pointer"'; + $opt_config_env= 'CC=gcc CFLAGS="-O2 -fno-omit-frame-pointer" CXX=gcc CXXFLAGS="-O2 -fno-omit-frame-pointer"'; } else { - $opt_config_env= 'CC=gcc CFLAGS="-O3 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O3 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti"'; + $opt_config_env= 'CC=gcc CFLAGS="-O3 -fno-omit-frame-pointer" CXX=gcc CXXFLAGS="-O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti"'; } } diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh index 5204c22962f..52b26429048 100644 --- a/support-files/mysql.spec.sh +++ b/support-files/mysql.spec.sh @@ -140,10 +140,11 @@ BuildMySQL() { # support assembler speedups. sh -c "PATH=\"${MYSQL_BUILD_PATH:-/bin:/usr/bin}\" \ CC=\"${MYSQL_BUILD_CC:-egcs}\" \ - CFLAGS=\"${MYSQL_BUILD_CFLAGS:- -O6}\" \ + CFLAGS=\"${MYSQL_BUILD_CFLAGS:- -O6 -fno-omit-frame-pointer}\" \ CXX=\"${MYSQL_BUILD_CXX:-egcs}\" \ CXXFLAGS=\"${MYSQL_BUILD_CXXFLAGS:- -O6 \ - -felide-constructors -fno-exceptions -fno-rtti}\" \ + -felide-constructors -fno-exceptions -fno-rtti \ + -fno-omit-frame-pointer}\" \ ./configure \ $* \ --enable-assembler \ |