patch-gcc_config_rs6000_driver-rs6000_c 718 B

123456789101112131415161718192021
  1. $OpenBSD: patch-gcc_config_rs6000_driver-rs6000_c,v 1.1.1.1 2016/09/04 16:20:17 pascal Exp $
  2. --- gcc/config/rs6000/driver-rs6000.c.orig Thu Jan 24 21:13:07 2013
  3. +++ gcc/config/rs6000/driver-rs6000.c Thu Jan 24 21:16:05 2013
  4. @@ -40,6 +40,8 @@ const char *host_detect_local_cpu (int argc, const cha
  5. #if GCC_VERSION >= 0
  6. +#if defined(_AIX) || defined(__APPLE__) || defined(__FreeBSD__) || \
  7. + defined(__linux__)
  8. /* Returns parameters that describe L1_ASSOC associative cache of size
  9. L1_SIZEKB with lines of size L1_LINE, and L2_SIZEKB. */
  10. @@ -58,6 +60,7 @@ describe_cache (unsigned l1_sizekb, unsigned l1_line,
  11. return concat (l1size, " ", line, " ", l2size, " ", NULL);
  12. }
  13. +#endif
  14. #ifdef __APPLE__