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
9fd870a7
Commit
9fd870a7
authored
Jun 17, 2005
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/my/mysql-4.1
parents
dcb0e65d
cec0116e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+13
-2
No files found.
support-files/mysql.spec.sh
View file @
9fd870a7
%define mysql_version @VERSION@
%ifarch i386
# use "rpmbuild --with static" or "rpm --define '_with_static 1'" (for RPM 3.x)
# to enable static linking (off by default)
%
{
?_with_static:%define STATIC_BUILD 1
}
%
{!
?_with_static:%define STATIC_BUILD 0
}
%if %
{
STATIC_BUILD
}
%define release 0
%else
%define release 0.glibc23
...
...
@@ -341,7 +345,7 @@ make clean
# so don't link statically there
#
BuildMySQL
"--disable-shared
\
%if
arch i386
%if
%{STATIC_BUILD}
--with-mysqld-ldflags='-all-static'
\
--with-client-ldflags='-all-static'
\
$USE_OTHER_LIBC_DIR
\
...
...
@@ -663,6 +667,13 @@ fi
# itself - note that they must be ordered by date (important when
# merging BK trees)
%changelog
*
Tue Jun 14 2005 Lenz Grimmer <lenz@mysql.com>
- Do not build statically on i386 by default, only when adding either
"--with
static"
or
"--define '_with_static 1'"
to the RPM build options. Static
linking really only makes sense when linking against the specially patched
glibc 2.2.5.
*
Mon Jun 06 2005 Lenz Grimmer <lenz@mysql.com>
- added mysql_client_test to the
"bench"
subpackage
(
BUG 10676
)
...
...
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