diff options
author | Tom Rini <trini@konsulko.com> | 2021-06-29 19:10:43 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-06-29 19:10:43 -0400 |
commit | f56bb308601617b7392391695f4bc2eb8476b80e (patch) | |
tree | 4ba30733b083566fc98c629e69b5f69f844803fb | |
parent | 8fba49bc8efb5ab5ee63666c0ab6cf2130fd3059 (diff) | |
download | u-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-- | Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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) |