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
1a0e36ea
Commit
1a0e36ea
authored
Jan 05, 2007
by
kent@kent-amd64.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/kent/bk/tmp/mysql-5.0-build
into mysql.com:/home/kent/bk/tmp/mysql-5.1-build
parents
7e9361a3
fa5a359f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletion
+24
-1
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+1
-1
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+23
-0
No files found.
scripts/make_binary_distribution.sh
View file @
1a0e36ea
...
@@ -369,7 +369,7 @@ BASE=$BASE2
...
@@ -369,7 +369,7 @@ BASE=$BASE2
#
#
if
[
x
"@GXX@"
=
x
"yes"
]
;
then
if
[
x
"@GXX@"
=
x
"yes"
]
;
then
gcclib
=
`
@CC@
--print-libgcc-file
`
gcclib
=
`
@CC@
@CFLAGS@
--print-libgcc-file
`
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
echo
"Warning: Couldn't find libgcc.a!"
echo
"Warning: Couldn't find libgcc.a!"
else
else
...
...
support-files/mysql.spec.sh
View file @
1a0e36ea
...
@@ -369,6 +369,19 @@ cd ../..
...
@@ -369,6 +369,19 @@ cd ../..
##############################################################################
##############################################################################
# Include libgcc.a in the devel subpackage (BUG 4921)
if
expr
"
$CC
"
:
".*gcc.*"
>
/dev/null
;
then
libgcc
=
`
$CC
$CFLAGS
--print-libgcc-file
`
if
[
-f
$libgcc
]
then
%define have_libgcc 1
install
-m
644
$libgcc
$RBR
%
{
_libdir
}
/mysql/libmygcc.a
fi
fi
##############################################################################
%install
%install
RBR
=
$RPM_BUILD_ROOT
RBR
=
$RPM_BUILD_ROOT
MBD
=
$RPM_BUILD_DIR
/mysql-%
{
mysql_version
}
/mysql-release-%
{
mysql_version
}
MBD
=
$RPM_BUILD_DIR
/mysql-%
{
mysql_version
}
/mysql-release-%
{
mysql_version
}
...
@@ -654,6 +667,9 @@ fi
...
@@ -654,6 +667,9 @@ fi
%
{
_includedir
}
/mysql/
*
%
{
_includedir
}
/mysql/
*
%
{
_libdir
}
/mysql/libdbug.a
%
{
_libdir
}
/mysql/libdbug.a
%
{
_libdir
}
/mysql/libheap.a
%
{
_libdir
}
/mysql/libheap.a
%if %
{
have_libgcc
}
%
{
_libdir
}
/mysql/libmygcc.a
%endif
%
{
_libdir
}
/mysql/libmyisam.a
%
{
_libdir
}
/mysql/libmyisam.a
%
{
_libdir
}
/mysql/libmyisammrg.a
%
{
_libdir
}
/mysql/libmyisammrg.a
%
{
_libdir
}
/mysql/libmysqlclient.a
%
{
_libdir
}
/mysql/libmysqlclient.a
...
@@ -689,6 +705,13 @@ fi
...
@@ -689,6 +705,13 @@ fi
# itself - note that they must be ordered by date (important when
# itself - note that they must be ordered by date (important when
# merging BK trees)
# merging BK trees)
%changelog
%changelog
*
Fri Jan 05 2007 Kent Boortz <kent@mysql.com>
- Put back
"libmygcc.a"
, found no real reason it was removed.
- Add CFLAGS to gcc call with
--print-libgcc-file
, to make sure the
correct
"libgcc.a"
path is returned
for
the 32/64 bit architecture.
*
Mon Dec 18 2006 Joerg Bruehe <joerg@mysql.com>
*
Mon Dec 18 2006 Joerg Bruehe <joerg@mysql.com>
- Fix the move of
"mysqlmanager"
to section 8: Directory name was wrong.
- Fix the move of
"mysqlmanager"
to section 8: Directory name was wrong.
...
...
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