SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
lang/bootgcc/patches/patch-gcc_config_rs6000_driver-rs6000_c
Normal file
20
lang/bootgcc/patches/patch-gcc_config_rs6000_driver-rs6000_c
Normal file
|
@ -0,0 +1,20 @@
|
|||
Index: gcc/config/rs6000/driver-rs6000.c
|
||||
--- gcc/config/rs6000/driver-rs6000.c.orig
|
||||
+++ gcc/config/rs6000/driver-rs6000.c
|
||||
@@ -82,6 +82,8 @@ const char *host_detect_local_cpu (int argc, const cha
|
||||
|
||||
#if GCC_VERSION >= 0
|
||||
|
||||
+#if defined(_AIX) || defined(__APPLE__) || defined(__FreeBSD__) || \
|
||||
+ defined(__linux__)
|
||||
/* Returns parameters that describe L1_ASSOC associative cache of size
|
||||
L1_SIZEKB with lines of size L1_LINE, and L2_SIZEKB. */
|
||||
|
||||
@@ -100,6 +102,7 @@ describe_cache (unsigned l1_sizekb, unsigned l1_line,
|
||||
|
||||
return concat (l1size, " ", line, " ", l2size, " ", NULL);
|
||||
}
|
||||
+#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue