mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 05:54:58 +00:00
30 lines
1.2 KiB
Diff
30 lines
1.2 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Andreas Kling <awesomekling@gmail.com>
|
|
Date: Mon, 16 May 2022 15:03:14 +0200
|
|
Subject: [PATCH] libgcc: Do not link libgcc_s to LibC
|
|
|
|
The toolchain is built before LibC, so linking to the C runtime library
|
|
would fail.
|
|
|
|
Co-Authored-By: Gunnar Beutner <gbeutner@serenityos.org>
|
|
Co-Authored-By: Daniel Bertalan <dani@danielbertalan.dev>
|
|
Co-Authored-By: Itamar <itamar8910@gmail.com>
|
|
Co-Authored-By: Nico Weber <thakis@chromium.org>
|
|
Co-Authored-By: Philip Herron <herron.philip@googlemail.com>
|
|
Co-Authored-By: Shannon Booth <shannon@serenityos.org>
|
|
---
|
|
libgcc/config/t-slibgcc | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/libgcc/config/t-slibgcc b/libgcc/config/t-slibgcc
|
|
index 29765bce8021a69980bbd3e283fe812f22c63242..3f18082dd0542c2161637ceeaef9d4738c4f18c4 100644
|
|
--- a/libgcc/config/t-slibgcc
|
|
+++ b/libgcc/config/t-slibgcc
|
|
@@ -26,7 +26,6 @@ SHLIB_MAP = @shlib_map_file@
|
|
SHLIB_OBJS = @shlib_objs@
|
|
SHLIB_DIR = @multilib_dir@
|
|
SHLIB_SLIBDIR_QUAL = @shlib_slibdir_qual@
|
|
-SHLIB_LC = -lc
|
|
SHLIB_MAKE_SOLINK = $(LN_S) $(SHLIB_SONAME) $(SHLIB_DIR)/$(SHLIB_SOLINK)
|
|
SHLIB_INSTALL_SOLINK = $(LN_S) $(SHLIB_SONAME) \
|
|
$(DESTDIR)$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)
|