gs: fix build for objtype=spim

This commit is contained in:
cinap_lenrek 2015-08-08 08:31:49 +02:00
parent acc4d8b8aa
commit 79213052a2
3 changed files with 8 additions and 0 deletions

View file

@ -4,6 +4,8 @@
#include "386.h"
#elif Tmips
#include "mips.h"
#elif Tspim
#include "spim.h"
#elif Tpower
#include "mips.h"
#elif Talpha

View file

@ -0,0 +1,3 @@
#include "default.mips.h"
#undef ARCH_IS_BIG_ENDIAN
#define ARCH_IS_BIG_ENDIAN 0

3
sys/src/cmd/gs/spim.h Normal file
View file

@ -0,0 +1,3 @@
#include "mips.h"
#undef ARCH_IS_BIG_ENDIAN
#define ARCH_IS_BIG_ENDIAN 0