206684cb34
since it has platform-dependent code in slp_platformdetect.h.. breakage reported by ajacoutot@
22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
$OpenBSD: patch-slp_platformselect_h,v 1.1 2012/08/17 21:51:49 landry Exp $
|
|
Give it a chance to build on ppc & mips
|
|
--- slp_platformselect.h.orig Fri Aug 17 23:44:37 2012
|
|
+++ slp_platformselect.h Fri Aug 17 23:46:43 2012
|
|
@@ -18,6 +18,8 @@
|
|
#include "platform/switch_ppc_macosx.h" /* Apple MacOS X on PowerPC */
|
|
#elif defined(__GNUC__) && defined(_ARCH_PPC) && defined(_AIX)
|
|
#include "platform/switch_ppc_aix.h" /* gcc on AIX/PowerPC */
|
|
+#elif defined(__GNUC__) && defined(__powerpc__)
|
|
+#include "platform/switch_ppc_unix.h" /* gcc on unix/PowerPC */
|
|
#elif defined(__GNUC__) && defined(sparc)
|
|
#include "platform/switch_sparc_sun_gcc.h" /* SunOS sparc with gcc */
|
|
#elif defined(__SUNPRO_C) && defined(sparc) && defined(sun)
|
|
@@ -30,6 +32,6 @@
|
|
#include "platform/switch_s390_unix.h" /* Linux/S390 zSeries (64-bit) */
|
|
#elif defined(__GNUC__) && defined(__arm__)
|
|
#include "platform/switch_arm32_gcc.h" /* gcc using arm32 */
|
|
-#elif defined(__GNUC__) && defined(__mips__) && defined(__linux__)
|
|
+#elif defined(__GNUC__) && defined(__mips__)
|
|
#include "platform/switch_mips_unix.h" /* Linux/MIPS */
|
|
#endif
|