projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80b8412
)
PowerPC build fix in mono-hwcap-ppc.
author
Alex Rønne Petersen
<alexrp@xamarin.com>
Fri, 19 Jul 2013 04:48:16 +0000
(06:48 +0200)
committer
Alex Rønne Petersen
<alexrp@xamarin.com>
Sat, 20 Jul 2013 01:03:55 +0000
(
03:03
+0200)
mono/utils/mono-hwcap-ppc.c
patch
|
blob
|
history
diff --git
a/mono/utils/mono-hwcap-ppc.c
b/mono/utils/mono-hwcap-ppc.c
index 30e4afb7588a846638adcf6ff23893d460e91f34..c88b95f6ec810974cee7fbf0a33d827e073042eb 100644
(file)
--- a/
mono/utils/mono-hwcap-ppc.c
+++ b/
mono/utils/mono-hwcap-ppc.c
@@
-60,7
+60,7
@@
mono_hwcap_arch_init (void)
if ((platform = getauxval(AT_PLATFORM))) {
const char *str = (const char *) platform;
- if (!strcmp (str, "ppc970") || (!strncmp (str, "power", 5) &&
arch [5] >= '4' && arch
[5] <= '7'))
+ if (!strcmp (str, "ppc970") || (!strncmp (str, "power", 5) &&
str [5] >= '4' && str
[5] <= '7'))
mono_hwcap_ppc_has_multiple_ls_units = TRUE;
}
#endif