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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
44d2bf54
Commit
44d2bf54
authored
Jan 28, 2010
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support in bintar build script for OpenSolaris.
parent
e926af9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
BUILD/util.sh
BUILD/util.sh
+9
-1
No files found.
BUILD/util.sh
View file @
44d2bf54
...
...
@@ -16,6 +16,8 @@
# Setting cpu options.
get_cpuopt
()
{
case
"
$(
uname
-o
)
"
in
*
Linux
*
)
case
"
$(
gcc
-dumpmachine
)
"
in
x86_64-
*
)
# gcc barfs on -march=... on x64
...
...
@@ -26,7 +28,13 @@ get_cpuopt () {
CPUOPT
=
"-m32 -march=i586 -mtune=generic"
;;
esac
return
0
;;
*
Solaris
*
)
# ToDo: handle 32-bit build? For now default to 64-bit.
CPUOPT
=
"-D__sun -m64 -mtune=athlon64"
;;
esac
return
0
}
# Default to a parallel build, but only if AM_MAKEFLAGS is not set.
...
...
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