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
31144766
Commit
31144766
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
a21f8a0e
2e6a0cbc
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 @
31144766
...
...
@@ -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.
CFLAGS
=
`
echo
$CFLAGS
|
sed
-e
's/-O[0-9]* //'
-e
's/-unroll2 //'
-e
's/-ip //'
-e
's/$/ -g/'
`
CXXFLAGS
=
`
echo
$CXXFLAGS
|
sed
-e
's/-O[0-9]* //'
-e
's/-unroll2 //'
-e
's/-ip //'
-e
's/$/ -g/'
`
CFLAGS
=
`
echo
"
$CFLAGS
"
|
\
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.
cd
mysql-debug-%
{
mysql_version
}
&&
CFLAGS
=
\"
$CFLAGS
\
"
\
CXXFLAGS
=
\"
$CXXFLAGS
\
"
\
CFLAGS
=
"
$CFLAGS
"
\
CXXFLAGS
=
"
$CXXFLAGS
"
\
BuildMySQL
"
\
--with-debug
\
--with-comment=
\"
MySQL Community Server - Debug (GPL)
\"
"
)
...
...
@@ -367,8 +371,8 @@ fi
##############################################################################
(
cd
mysql-release-%
{
mysql_version
}
&&
CFLAGS
=
\"
$CFLAGS
\
"
\
CXXFLAGS
=
\"
$CXXFLAGS
\
"
\
CFLAGS
=
"
$CFLAGS
"
\
CXXFLAGS
=
"
$CXXFLAGS
"
\
BuildMySQL
"
\
--with-embedded-server
\
--with-comment=
\"
MySQL Community Server (GPL)
\"
"
)
...
...
@@ -830,6 +834,11 @@ fi
# itself - note that they must be ordered by date (important when
# merging BK trees)
%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>
- 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