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
415e2de3
Commit
415e2de3
authored
Aug 10, 2006
by
gkodinov/kgeorge@macbook.gmz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for check_cpu to work correctly on MacOSX/Intel.
parent
83896aa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
BUILD/check-cpu
BUILD/check-cpu
+5
-1
No files found.
BUILD/check-cpu
View file @
415e2de3
...
@@ -93,6 +93,10 @@ case "$cpu_family--$model_name" in
...
@@ -93,6 +93,10 @@ case "$cpu_family--$model_name" in
*
Opteron
*
)
*
Opteron
*
)
cpu_arg
=
"opteron"
;
cpu_arg
=
"opteron"
;
;;
;;
# MacOSX / Intel
*
i386
*
i486
*
)
cpu_arg
=
"pentium-m"
;
;;
# Intel ia64
# Intel ia64
*
Itanium
*
)
*
Itanium
*
)
...
@@ -131,7 +135,7 @@ else
...
@@ -131,7 +135,7 @@ else
fi
fi
cc_ver
=
`
$cc
--version
|
sed
1q
`
cc_ver
=
`
$cc
--version
|
sed
1q
`
cc_verno
=
`
echo
$cc_ver
|
sed
-e
's/[^0-9. ]//g; s/^ *//g; s/ .*//g'
`
cc_verno
=
`
echo
$cc_ver
|
sed
-e
's/
^.*gcc/gcc/g; s/
[^0-9. ]//g; s/^ *//g; s/ .*//g'
`
case
"
$cc_ver
--
$cc_verno
"
in
case
"
$cc_ver
--
$cc_verno
"
in
*
GCC
*
)
*
GCC
*
)
...
...
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