aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-08 21:05:55 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-08 21:05:55 +0000
commit9617efe8e78fe977c8ddbb18d7b14b532ab07c3e (patch)
tree1e02c79c07cb25fd03285f4e15dcebe2e928d3dd /Makefile.target
parente14a693ddaec910888ba2870aab35b5eb8793e5d (diff)
Another bunch of mips host support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2788 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.target b/Makefile.target
index 9bb12c2f59..aa99f39cd1 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -181,7 +181,7 @@ BASE_LDFLAGS+=-Wl,-T,$(SRC_PATH)/$(ARCH).ld
endif
ifeq ($(ARCH),mips)
-OP_CFLAGS+=-G 0 -fomit-frame-pointer -fno-delayed-branch
+OP_CFLAGS+=-mabi=32 -G0 -fno-PIC -mno-abicalls -fomit-frame-pointer -fno-delayed-branch -Wa,-O0
ifeq ($(WORDS_BIGENDIAN),yes)
BASE_LDFLAGS+=-Wl,-T,$(SRC_PATH)/$(ARCH).ld
else
@@ -190,7 +190,7 @@ endif
endif
ifeq ($(ARCH),mips64)
-OP_CFLAGS+=-G 0 -fomit-frame-pointer -fno-delayed-branch
+OP_CFLAGS+=-mabi=n32 -G0 -fno-PIC -mno-abicalls -fomit-frame-pointer -fno-delayed-branch -Wa,-O0
ifeq ($(WORDS_BIGENDIAN),yes)
BASE_LDFLAGS+=-Wl,-T,$(SRC_PATH)/$(ARCH).ld
else