summaryrefslogtreecommitdiff
path: root/Build-tools
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-02-14 15:09:38 -0700
committerunknown <sasha@mysql.sashanet.com>2001-02-14 15:09:38 -0700
commite485707b55e8adfb2440b9b1716d8d4faafdda1a (patch)
treeb1c28bbc435db7ebec3feeb54934df99222af8dc /Build-tools
parent9902850d2fd3046a8d70ac1bec0bdf5199d89fb8 (diff)
downloadmariadb-git-e485707b55e8adfb2440b9b1716d8d4faafdda1a.tar.gz
keep frame pointer
Diffstat (limited to 'Build-tools')
-rwxr-xr-xBuild-tools/Do-compile4
1 files changed, 2 insertions, 2 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"';
}
}