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
1f5ce2fb
Commit
1f5ce2fb
authored
14 years ago
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actually, move the libgcc stuff to %install where it belongs.
parent
d8883b8d
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+11
-12
No files found.
support-files/mysql.spec.sh
View file @
1f5ce2fb
...
...
@@ -398,18 +398,6 @@ RBR=$RPM_BUILD_ROOT
# Clean up the BuildRoot first
[
"
$RBR
"
!=
"/"
]
&&
[
-d
"
$RBR
"
]
&&
rm
-rf
"
$RBR
"
;
# For gcc builds, include libgcc.a in the devel subpackage (BUG 4921)
if
"
$CC
"
--version
|
grep
'(GCC)'
>
/dev/null 2>&1
then
libgcc
=
`
$CC
$CFLAGS
--print-libgcc-file
`
if
[
-f
$libgcc
]
then
%define WITH_LIBGCC 1
mkdir
-p
$RBR
%
{
_libdir
}
install
-m
644
$libgcc
$RBR
%
{
_libdir
}
/libmygcc.a
fi
fi
##############################################################################
%install
...
...
@@ -431,6 +419,17 @@ install -d $RBR%{_sbindir}
make
DESTDIR
=
$RBR
install
)
# For gcc builds, include libgcc.a in the devel subpackage (BUG 4921)
if
"
$CC
"
--version
|
grep
'(GCC)'
>
/dev/null 2>&1
then
libgcc
=
`
$CC
$CFLAGS
--print-libgcc-file
`
if
[
-f
$libgcc
]
then
%define WITH_LIBGCC 1
install
-m
644
$libgcc
$RBR
%
{
_libdir
}
/libmygcc.a
fi
fi
# Install logrotate and autostart
install
-m
644
$MBD
/release/support-files/mysql-log-rotate
$RBR
%
{
_sysconfdir
}
/logrotate.d/mysql
install
-m
755
$MBD
/release/support-files/mysql.server
$RBR
%
{
_sysconfdir
}
/init.d/mysql
...
...
This diff is collapsed.
Click to expand it.
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