Skip to content

Commit 4929d8d

Browse files
committed
lwnbdsvr: use libgcc for some support functions
1 parent c15aafa commit 4929d8d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/network/lwnbdsvr/Makefile

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ ifeq ($(DEBUG),1)
88
IOP_CFLAGS += -DDEBUG -DNBD_DEBUG
99
endif
1010

11+
ifneq ($(IOP_CC_VERSION),3.2.2)
12+
ifneq ($(IOP_CC_VERSION),3.2.3)
13+
# Due to usage of 64 bit integers, support code for __ashldi3 and __lshrdi3 is needed
14+
IOP_LIBS += -lgcc
15+
endif
16+
endif
17+
1118
include $(PS2SDK)/Defs.make
1219
include ../../Rules.bin.make
1320
include ../../Rules.make

0 commit comments

Comments
 (0)