shithub: riscv

Download patch

ref: 1f8e6c916af4d10928b751c3bd8c3a6355267c39
parent: 79213052a219d8c7ab85629807d07f7365ef9bec
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Aug 8 04:34:16 EDT 2015

python: fix build for objtype=$spim

--- a/sys/src/cmd/python/pyconfig.h
+++ b/sys/src/cmd/python/pyconfig.h
@@ -17,7 +17,7 @@
 
 typedef struct Threadarg Threadarg;
 
-#if defined(T386) || defined(Talpha) || defined(Tarm) || defined(Tpower) || defined(Tamd64)
+#if defined(T386) || defined(Talpha) || defined(Tarm) || defined(Tpower) || defined(Tamd64) || defined(Tspim)
 #undef WORDS_BIGENDIAN
 #elif defined(Tmips) || defined(Tsparc)
 #define WORDS_BIGENDIAN