$OpenBSD: patch-gcc_config_rs6000_driver-rs6000_c,v 1.1.1.1 2013/04/08 08:20:26 pascal Exp $
--- gcc/config/rs6000/driver-rs6000.c.orig	Thu Jan 24 21:13:07 2013
+++ gcc/config/rs6000/driver-rs6000.c	Thu Jan 24 21:16:05 2013
@@ -40,6 +40,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.  */
 
@@ -58,6 +60,7 @@ describe_cache (unsigned l1_sizekb, unsigned l1_line,
 
   return concat (l1size, " ", line, " ", l2size, " ", NULL);
 }
+#endif
 
 #ifdef __APPLE__
 
