aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-06-29 19:10:43 -0400
committerTom Rini <trini@konsulko.com>2021-06-29 19:10:43 -0400
commitf56bb308601617b7392391695f4bc2eb8476b80e (patch)
tree4ba30733b083566fc98c629e69b5f69f844803fb
parent8fba49bc8efb5ab5ee63666c0ab6cf2130fd3059 (diff)
downloadu-boot-WIP/drop-libgcc.zip
u-boot-WIP/drop-libgcc.tar.gz
u-boot-WIP/drop-libgcc.tar.bz2
Makefile: Stop forcing libgcc to be usedWIP/drop-libgcc
There are cases where we need some typical libgcc functions, and provide private copies of those. However, we should be otherwise able to link without requiring libgcc. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 027e31e..ce73b92 100644
--- a/Makefile
+++ b/Makefile
@@ -859,8 +859,6 @@ u-boot-main := $(libs-y)
# Add GCC lib
ifeq ($(CONFIG_USE_PRIVATE_LIBGCC),y)
PLATFORM_LIBGCC = arch/$(ARCH)/lib/lib.a
-else
-PLATFORM_LIBGCC := -L $(shell dirname `$(CC) $(c_flags) -print-libgcc-file-name`) -lgcc
endif
PLATFORM_LIBS += $(PLATFORM_LIBGCC)