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
b7b8537a
Commit
b7b8537a
authored
May 09, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes after review
BUILD/check-cpu: Change variable name Add missing fi Test with -n instead of -z
parent
a91c8040
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
BUILD/check-cpu
BUILD/check-cpu
+5
-4
No files found.
BUILD/check-cpu
View file @
b7b8537a
...
...
@@ -34,7 +34,7 @@ else
fi
cpu_flag
=
""
cpu_flag_o
bs
=
""
cpu_flag_o
ld
=
""
case
"
$cpu_family
--
$model_name
"
in
Alpha
*
EV6
*
)
...
...
@@ -57,7 +57,7 @@ case "$cpu_family--$model_name" in
;;
*
Athlon
*
64
*
)
cpu_flag
=
"athlon64"
;
cpu_flag_o
bs
=
"athlon"
;
cpu_flag_o
ld
=
"athlon"
;
;;
*
Athlon
*
)
cpu_flag
=
"athlon"
;
...
...
@@ -98,8 +98,9 @@ case "$cc_ver--$cc_verno" in
;;
*
GCC
*
)
# Fix for older compiler versions
if
test
-z
"
$cpu_flag_obs
"
;
then
cpu_flag
=
$cpu_flag_obs
;
if
test
-n
"
$cpu_flag_old
"
;
then
cpu_flag
=
"
$cpu_flag_old
"
fi
check_cpu_cflags
=
"-mcpu=
$cpu_flag
-march=
$cpu_flag
"
;;
*
)
...
...
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