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
483a5b24
Commit
483a5b24
authored
Mar 29, 2010
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Variables need to be exported so cmake can pick them up.
parent
af315a60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+7
-7
No files found.
support-files/mysql.spec.sh
View file @
483a5b24
...
@@ -342,13 +342,13 @@ set -eu
...
@@ -342,13 +342,13 @@ set -eu
# variable name, finally a default. RPM_OPT_FLAGS is assumed to be
# variable name, finally a default. RPM_OPT_FLAGS is assumed to be
# a part of the default rpm build environment.
# a part of the default rpm build environment.
#
#
PATH
=
${
MYSQL_BUILD_PATH
:-
$PATH
}
export
PATH
=
${
MYSQL_BUILD_PATH
:-
$PATH
}
CC
=
${
MYSQL_BUILD_CC
:-${
CC
:-
gcc
}}
export
CC
=
${
MYSQL_BUILD_CC
:-${
CC
:-
gcc
}}
CXX
=
${
MYSQL_BUILD_CXX
:-${
CXX
:-
g
++
}}
export
CXX
=
${
MYSQL_BUILD_CXX
:-${
CXX
:-
g
++
}}
CFLAGS
=
${
MYSQL_BUILD_CFLAGS
:-${
CFLAGS
:-
$RPM_OPT_FLAGS
}}
export
CFLAGS
=
${
MYSQL_BUILD_CFLAGS
:-${
CFLAGS
:-
$RPM_OPT_FLAGS
}}
CXXFLAGS
=
${
MYSQL_BUILD_CXXFLAGS
:-${
CXXFLAGS
:-
$RPM_OPT_FLAGS
-felide-constructors -fno-exceptions -fno-rtti
}}
export
CXXFLAGS
=
${
MYSQL_BUILD_CXXFLAGS
:-${
CXXFLAGS
:-
$RPM_OPT_FLAGS
-felide-constructors -fno-exceptions -fno-rtti
}}
LDFLAGS
=
${
MYSQL_BUILD_LDFLAGS
:-${
LDFLAGS
:-}}
export
LDFLAGS
=
${
MYSQL_BUILD_LDFLAGS
:-${
LDFLAGS
:-}}
CMAKE
=
${
MYSQL_BUILD_CMAKE
:-${
CMAKE
:-
cmake
}}
export
CMAKE
=
${
MYSQL_BUILD_CMAKE
:-${
CMAKE
:-
cmake
}}
# Build debug mysqld and libmysqld.a
# Build debug mysqld and libmysqld.a
mkdir
debug
mkdir
debug
...
...
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