summaryrefslogtreecommitdiffhomepage
path: root/project/extras.mk
diff options
context:
space:
mode:
Diffstat (limited to 'project/extras.mk')
-rw-r--r--project/extras.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 73d6b39..42ebf96 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -3,6 +3,7 @@
# libc.so
SHARED_OBJS += $(LDSO_OBJS)
+SHARED_LIB_DEPS += $(LIBC_DEPS)
LDFLAGS_COMMON += -nostdlib
LDFLAGS_COMMON += -Wl,-Bsymbolic-functions
@@ -14,8 +15,6 @@ LDFLAGS_COMMON += -Wl,--exclude-libs=ALL
LDFLAGS_COMMON += -Wl,-e -Wl,_dlstart
LDFLAGS_COMMON += -Wl,--sort-section -Wl,alignment
-SHARED_LIB_DEPS += -lgcc -lgcc_eh
-
ifeq ($(CC_BINFMT),ELF)
LDFLAGS_COMMON += -Wl,--hash-style -Wl,both
endif