Skip to content

Commit

Permalink
lwnbdsvr: use libgcc for some support functions
Browse files Browse the repository at this point in the history
  • Loading branch information
uyjulian committed Jun 11, 2021
1 parent c15aafa commit 4929d8d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/network/lwnbdsvr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ ifeq ($(DEBUG),1)
IOP_CFLAGS += -DDEBUG -DNBD_DEBUG
endif

ifneq ($(IOP_CC_VERSION),3.2.2)
ifneq ($(IOP_CC_VERSION),3.2.3)
# Due to usage of 64 bit integers, support code for __ashldi3 and __lshrdi3 is needed
IOP_LIBS += -lgcc
endif
endif

include $(PS2SDK)/Defs.make
include ../../Rules.bin.make
include ../../Rules.make

0 comments on commit 4929d8d

Please sign in to comment.