aboutsummaryrefslogtreecommitdiff
path: root/examples/rgb24
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rgb24')
-rw-r--r--examples/rgb24/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rgb24/makefile b/examples/rgb24/makefile
index ada9fbb..eea866d 100644
--- a/examples/rgb24/makefile
+++ b/examples/rgb24/makefile
@@ -11,12 +11,12 @@ OFILES = $(addprefix build/,$(CFILES:.c=.o) $(CPPFILES:.cpp=.o) $(AFILES:.s=.o)
INCLUDE +=
LIBDIRS +=
-LIBS = -lc -lpsxgpu -lpsxapi -lgcc
+LIBS = -lpsxgpu -lpsxapi -lc
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++