Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
elfldr: fix compiling error
Browse files Browse the repository at this point in the history
cc1: warning: cannot use small-data accesses for ‘-mabicalls’
Assembler messages:
Error: -G may not be used with abicalls
  • Loading branch information
citronalco committed Nov 16, 2023
1 parent 28dbef0 commit aedbefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elfldr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ EE_BIN = elfldr.elf
EE_OBJS = elfldr.o crt0.o

EE_INCS := -I$(PS2SDK)/ee/include -I$(PS2SDK)/common/include -I.
EE_CFLAGS := -D_EE -O2 -mgpopt -G8192 -Wall $(EE_INCS)
EE_CFLAGS := -D_EE -O2 -mgpopt -G0 -Wall $(EE_INCS)

EE_LDFLAGS = -nostartfiles -Tlinkfile -L$(PS2SDK)/ee/lib -s
EE_LIBS += -lkernel
Expand Down

0 comments on commit aedbefd

Please sign in to comment.