Skip to content

Commit a71a4e3

Browse files
committed
fix makefiles
1 parent b479dc2 commit a71a4e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libdebugnet/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ INCLUDES = include
44
PREFIX = arm-vita-eabi
55
CC = $(PREFIX)-gcc
66
AR = $(PREFIX)-ar
7-
CFLAGS = -O2 -Wall -specs=psp2.specs -I$(INCLUDES)
7+
CFLAGS = -O2 -Wall -I$(INCLUDES)
88
ASFLAGS = $(CFLAGS)
99

1010
all: $(TARGET_LIB)

sample/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ TARGET := debugnetsample
1010

1111
OBJS= main.o
1212

13-
LIBS=-lSceNet_stub -lSceNetCtl_stub -ldebugnet
13+
LIBS=-ldebugnet -lSceNet_stub -lSceNetCtl_stub
1414

1515
PREFIX = arm-vita-eabi
1616
AS = $(PREFIX)-as
1717
CC = $(PREFIX)-gcc
1818
CXX = $(PREFIX)-g++
1919
READELF = $(PREFIX)-readelf
2020
OBJDUMP = $(PREFIX)-objdump
21-
CFLAGS = -O2 -Wall -specs=psp2.specs $(DEFINES) $(INCDIR) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections
21+
CFLAGS = -O2 -Wall $(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

0 commit comments

Comments
 (0)