summaryrefslogtreecommitdiff
path: root/util/m5/Makefile.sparc
diff options
context:
space:
mode:
Diffstat (limited to 'util/m5/Makefile.sparc')
-rw-r--r--util/m5/Makefile.sparc4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/m5/Makefile.sparc b/util/m5/Makefile.sparc
index 835ccb2a4..76d82857b 100644
--- a/util/m5/Makefile.sparc
+++ b/util/m5/Makefile.sparc
@@ -35,7 +35,7 @@ CC=$(CROSS_COMPILE)gcc
AS=$(CROSS_COMPILE)as
LD=$(CROSS_COMPILE)ld
-CFLAGS=-O2
+CFLAGS=-O2 -m64
OBJS=m5.o m5op_sparc.o
all: m5
@@ -47,7 +47,7 @@ all: m5
$(CC) $(CFLAGS) -o $@ -c $<
m5: $(OBJS)
- $(CC) -o $@ $(OBJS)
+ $(CC) -m64 -o $@ $(OBJS)
clean:
rm -f *.o m5