Skip to content

Commit 24b4b4f

Browse files
committed
fix makefile sample again
1 parent 40d22eb commit 24b4b4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sample/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CC = $(PREFIX)-gcc
1818
CXX = $(PREFIX)-g++
1919
READELF = $(PREFIX)-readelf
2020
OBJDUMP = $(PREFIX)-objdump
21-
CFLAGS = -Wl,-q $(DEFINES) $(INCDIR) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections
21+
CFLAGS = -Wl,-q $(DEFINES) $(INCDIR) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections
2222
CXXFLAGS = $(CFLAGS) -fno-unwind-tables -fno-rtti -fno-exceptions -Wno-deprecated -Wno-comment -Wno-sequence-point
2323
ASFLAGS = $(CFLAGS) --gc-sections
2424

@@ -31,7 +31,7 @@ $(TARGET).velf: $(TARGET).elf
3131
vita-elf-create $< $@ $(VITASDK)/bin/db.json
3232

3333
$(TARGET).elf: $(OBJS)
34-
$(CC) $^ -o $@ $(CFLAGS) $(LIBS)
34+
$(CC) $^ $(CFLAGS) $(LIBS) -o $@
3535

3636
clean:
3737
@rm -rf $(TARGET).elf $(TARGET).velf $(OBJS) $(DATA)/*.h

0 commit comments

Comments
 (0)