aboutsummaryrefslogtreecommitdiff
path: root/examples/gte/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gte/makefile')
-rw-r--r--examples/gte/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gte/makefile b/examples/gte/makefile
index 763b3d8..89b27d3 100644
--- a/examples/gte/makefile
+++ b/examples/gte/makefile
@@ -16,7 +16,7 @@ LIBS = -lc -lpsxetc -lpsxgpu -lpsxgte -lpsxspu -lpsxapi -lgcc
CFLAGS = -g -O2 -fno-builtin -fdata-sections -ffunction-sections
CPPFLAGS = $(CFLAGS) -fno-exceptions
AFLAGS = -g -msoft-float
-LDFLAGS = -g -Ttext=0x80010000 -gc-sections
+LDFLAGS = -g -Ttext=0x80010000 -gc-sections -T $(GCC_BASE)/mipsel-unknown-elf/lib/ldscripts/elf32elmip.x
CC = $(PREFIX)gcc
CXX = $(PREFIX)g++