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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d98fb22b
Commit
d98fb22b
authored
Feb 14, 2001
by
sasha@work.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do-compile monty's uncommitted stuff
parent
4fffd9dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Build-tools/Do-compile
Build-tools/Do-compile
+5
-2
No files found.
Build-tools/Do-compile
View file @
d98fb22b
...
...
@@ -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
" CXX=gcc CXXFLAGS="-O2
"
';
}
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
" CXX=gcc CXXFLAGS="-O3
-felide-constructors -fno-exceptions -fno-rtti"
';
}
}
...
...
@@ -68,6 +68,9 @@ if ($opt_stage == 0)
if
(
-
x
"
$host
/bin/mysqladmin
")
{
log_system
("
$host
/bin/mysqladmin --no-defaults -u root -S
$mysql_unix_port
-s shutdown
");
log_system
("
$host
/bin/mysqladmin --no-defaults -u root -P
$mysql_tcp_port
-h
$host
-s shutdown
");
log_system
("
$host
/bin/mysqladmin --no-defaults -u root -P 9306 -h
$host
-s shutdown
");
log_system
("
$host
/bin/mysqladmin --no-defaults -u root -P 9307 -h
$host
-s shutdown
");
}
system
("
mkdir
$host
")
if
(
!
-
d
$host
);
system
("
mkdir
$bench_tmpdir
")
if
(
!
-
d
$bench_tmpdir
);
...
...
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