Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d47b6e19
Commit
d47b6e19
authored
Feb 14, 2001
by
sasha@mysql.sashanet.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
keep frame pointer
parent
4fffd9dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
Build-tools/Do-compile
Build-tools/Do-compile
+2
-2
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+3
-2
No files found.
Build-tools/Do-compile
View file @
d47b6e19
...
...
@@ -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 -f
omit-frame-pointer" CXX=gcc CXXFLAGS="-O2 -f
omit-frame-pointer"
';
$opt_config_env
=
'
CC=gcc CFLAGS="-O2 -f
no-omit-frame-pointer" CXX=gcc CXXFLAGS="-O2 -fno-
omit-frame-pointer"
';
}
else
{
$opt_config_env
=
'
CC=gcc CFLAGS="-O3 -f
omit-frame-pointer" CXX=gcc CXXFLAGS="-O3 -f
omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti"
';
$opt_config_env
=
'
CC=gcc CFLAGS="-O3 -f
no-omit-frame-pointer" CXX=gcc CXXFLAGS="-O3 -fno-
omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti"
';
}
}
...
...
support-files/mysql.spec.sh
View file @
d47b6e19
...
...
@@ -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
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment