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
6fc34d0a
Commit
6fc34d0a
authored
Nov 07, 2008
by
Joerg Bruehe
Browse files
Options
Browse Files
Download
Plain Diff
Merge second fix for bug#40546 to the 5.1.30 tree.
parents
2f08a079
d74ce24d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+15
-6
No files found.
support-files/mysql.spec.sh
View file @
6fc34d0a
...
@@ -341,13 +341,17 @@ CXXFLAGS=${MYSQL_BUILD_CXXFLAGS:-$RPM_OPT_FLAGS -felide-constructors -fno-except
...
@@ -341,13 +341,17 @@ CXXFLAGS=${MYSQL_BUILD_CXXFLAGS:-$RPM_OPT_FLAGS -felide-constructors -fno-except
(
(
# We are in a subshell, so we can modify variables just for one run.
# We are in a subshell, so we can modify variables just for one run.
CFLAGS
=
`
echo
$CFLAGS
|
sed
-e
's/-O[0-9]* //'
-e
's/-unroll2 //'
-e
's/-ip //'
-e
's/$/ -g/'
`
CFLAGS
=
`
echo
"
$CFLAGS
"
|
\
CXXFLAGS
=
`
echo
$CXXFLAGS
|
sed
-e
's/-O[0-9]* //'
-e
's/-unroll2 //'
-e
's/-ip //'
-e
's/$/ -g/'
`
sed
-e
's/ -O[0-9]* / /'
-e
's/ -unroll2 / /'
-e
's/ -ip / /'
\
-e
's/^ //'
-e
's/ $//'
`
CXXFLAGS
=
`
echo
"
$CXXFLAGS
"
|
\
sed
-e
's/ -O[0-9]* / /'
-e
's/ -unroll2 / /'
-e
's/ -ip / /'
\
-e
's/^ //'
-e
's/ $//'
`
# Add -g and --with-debug.
# Add -g and --with-debug.
cd
mysql-debug-%
{
mysql_version
}
&&
cd
mysql-debug-%
{
mysql_version
}
&&
CFLAGS
=
\"
$CFLAGS
\
"
\
CFLAGS
=
"
$CFLAGS
"
\
CXXFLAGS
=
\"
$CXXFLAGS
\
"
\
CXXFLAGS
=
"
$CXXFLAGS
"
\
BuildMySQL
"
\
BuildMySQL
"
\
--with-debug
\
--with-debug
\
--with-comment=
\"
MySQL Community Server - Debug (GPL)
\"
"
)
--with-comment=
\"
MySQL Community Server - Debug (GPL)
\"
"
)
...
@@ -367,8 +371,8 @@ fi
...
@@ -367,8 +371,8 @@ fi
##############################################################################
##############################################################################
(
cd
mysql-release-%
{
mysql_version
}
&&
(
cd
mysql-release-%
{
mysql_version
}
&&
CFLAGS
=
\"
$CFLAGS
\
"
\
CFLAGS
=
"
$CFLAGS
"
\
CXXFLAGS
=
\"
$CXXFLAGS
\
"
\
CXXFLAGS
=
"
$CXXFLAGS
"
\
BuildMySQL
"
\
BuildMySQL
"
\
--with-embedded-server
\
--with-embedded-server
\
--with-comment=
\"
MySQL Community Server (GPL)
\"
"
)
--with-comment=
\"
MySQL Community Server (GPL)
\"
"
)
...
@@ -830,6 +834,11 @@ fi
...
@@ -830,6 +834,11 @@ 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 Nov 07 2008 Joerg Bruehe <joerg@mysql.com>
- Correct yesterday
's fix, so that it also works for the last flag,
and fix a wrong quoting: un-quoted quote marks must not be escaped.
* Thu Nov 06 2008 Kent Boortz <kent.boortz@sun.com>
* Thu Nov 06 2008 Kent Boortz <kent.boortz@sun.com>
- Removed "mysql_upgrade_shell"
- Removed "mysql_upgrade_shell"
...
...
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