From 1266fe5b86b2bd723cbf9d5814775d468b25416e Mon Sep 17 00:00:00 2001 From: Max Wash Date: Fri, 17 Mar 2023 20:06:02 +0000 Subject: [PATCH] build: link to libgcc --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 87a5d9d..3b3aac7 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ CFLAGS := $(CFLAGS) -DBUILD_ID=\"$(BUILD_ID)\" -g -Wall -Werror -pedantic \ -Iinclude -Iarch/$(SOCKS_ARCH)/include -Ilibc/include ASMFLAGS := $(ASMFLAGS) -DBUILD_ID=\"$(BUILD_ID)\" -LDFLAGS := $(LDFLAGS) -g +LDFLAGS := $(LDFLAGS) -g -lgcc ALL_KERNEL_OBJECT_FILES := $(KERNEL_OBJ) $(ARCH_OBJ) $(LIBC_OBJ) ALL_KERNEL_DEPS := $(ALL_KERNEL_OBJECT_FILES:.o=.d)