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
ee85029b
Commit
ee85029b
authored
Apr 01, 2010
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try some more fixes.
parent
910e8421
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
14 deletions
+9
-14
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+9
-14
No files found.
support-files/mysql.spec.sh
View file @
ee85029b
...
...
@@ -68,6 +68,9 @@
%undefine __perl_provides
%undefine __perl_requires
# Set default
%global WITH_LIBGCC 0
##############################################################################
# Command line handling
##############################################################################
...
...
@@ -397,26 +400,14 @@ RBR=$RPM_BUILD_ROOT
mkdir
-p
$RBR
%
{
_libdir
}
/mysql
# For gcc builds, include libgcc.a in the devel subpackage (BUG 4921)
# Some "icc" calls may have "gcc" in the argument string, so we should first
# check for "icc". (If we don't check, the "--print-libgcc-file" call will fail.)
if
expr
"
$CC
"
:
".*icc.*"
>
/dev/null
;
then
%global WITH_LIBGCC 0
:
elif
expr
"
$CC
"
:
".*gcc.*"
>
/dev/null
;
if
"
$CC
"
--version
|
grep
'(GCC)'
>
/dev/null 2>&1
then
libgcc
=
`
$CC
$CFLAGS
--print-libgcc-file
`
if
[
-f
$libgcc
]
then
%
global
WITH_LIBGCC 1
%
define
WITH_LIBGCC 1
install
-m
644
$libgcc
$RBR
%
{
_libdir
}
/mysql/libmygcc.a
else
%global WITH_LIBGCC 0
:
fi
else
%global WITH_LIBGCC 0
:
fi
##############################################################################
...
...
@@ -464,6 +455,10 @@ touch $RBR%{_sysconfdir}/my.cnf
install
-m
644
"%{malloc_lib_source}"
"
$RBR
%{_libdir}/mysql/%{malloc_lib_target}"
%endif
# Remove man pages we explicitly do not want to package, avoids 'unpackaged
# files' warning.
rm
-f
$RBR
%
{
_mandir
}
/man1/make_win_bin_dist.1
*
##############################################################################
# Post processing actions, i.e. when installed
##############################################################################
...
...
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