From 7104b33214b85ad3c33e66157463be045dfee195 Mon Sep 17 00:00:00 2001 From: Jens Medoch Date: Sat, 6 Mar 2010 16:26:32 +0100 Subject: [PATCH] Import 2-upx-hg_mips-r3k_makefile.patch. --- src/stub/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stub/Makefile b/src/stub/Makefile index a0f7c1c6..09eece0c 100644 --- a/src/stub/Makefile +++ b/src/stub/Makefile @@ -1031,7 +1031,7 @@ tc.mips.r3000-linux.elf.gcc += -Wall -W -Wcast-align -Wcast-qual -Wstrict-protot mips.r3000-linux.elf-entry.h : $(srcdir)/src/$$T.S ifeq (1,1) # info: we really need as-2.17 here - $(call tc,pp-as) -D_TARGET_LINUX_ $< -o - | $(RTRIM) > tmp/$T.i + $(call tc,pp-as) -D_TARGET_LINUX_ -D__MIPSEB__ $< -o - | $(RTRIM) > tmp/$T.i $(call tc,as) tmp/$T.i -o tmp/$T.bin $(call tc,gpp_mkdep) --mode=c --MMD=$@ --MF=tmp/$T.d $< else @@ -1070,7 +1070,7 @@ mipsel.r3000-linux.elf%.h : tc_bfdname = elf32-littlemips mipsel.r3000-linux.elf-entry.h : $(srcdir)/src/$$T.S ifeq (1,1) # info: we really need as-2.17 here - $(call tc,pp-as) -D_TARGET_LINUX_ $< -o - | $(RTRIM) > tmp/$T.i + $(call tc,pp-as) -D_TARGET_LINUX_ -D__MIPSEL__ $< -o - | $(RTRIM) > tmp/$T.i $(call tc,as) tmp/$T.i -o tmp/$T.bin $(call tc,gpp_mkdep) --mode=c --MMD=$@ --MF=tmp/$T.d $< else @@ -1115,7 +1115,7 @@ tc.mipsel.r3000-ps1.gcc += -Wall -W -Wcast-align -Wcast-qual -Wstrict-prototypes mipsel.r3000-ps1.h : $(srcdir)/src/$$T.S ifeq (1,1) # info: we really need as-2.17 here - $(call tc,pp-as) -DPS1 $< -o - | $(RTRIM) > tmp/$T.i + $(call tc,pp-as) -DPS1=1 -D__MIPSEL__ $< -o - | $(RTRIM) > tmp/$T.i $(call tc,as) tmp/$T.i -o tmp/$T.bin $(call tc,gpp_mkdep) --mode=c --MMD=$@ --MF=tmp/$T.d $< else