Skip to content

Commit 85c0331

Browse files
committed
fix: add libgcc definition for ARM architecture
1 parent 8f89bb2 commit 85c0331

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎scripts/make/build_c.mk‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ ifeq ($(ARCH), arm)
5353
# (e.g. __atomic_fetch_add_8), see:
5454
# https://github.com/redis/redis/issues/6275
5555
# https://github.com/redis/redis/pull/6975
56+
libgcc := $(shell $(CC) -print-libgcc-file-name)
5657
libatomic := $(shell $(CC) -print-file-name=libatomic.a)
5758
ifneq ($(libatomic),libatomic.a)
5859
libgcc += $(libatomic)

0 commit comments

Comments
 (0)