From 5219bb25bf28939d23d876b069911228b3fc41d7 Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Wed, 6 Mar 2019 17:33:16 +0100 Subject: [PATCH] package/musl: remove rcrt1.o from target installation rcrt1.o is a new startup for "static-pie" apps, and only needed for building, should not end up in the target filesystem. Signed-off-by: Norbert Lange Signed-off-by: Thomas Petazzoni (cherry picked from commit de5fef8c0482889743fb27542ccb013c10f1db8a) Signed-off-by: Peter Korsgaard --- package/musl/musl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/musl/musl.mk b/package/musl/musl.mk index 90c753926e..ff807c0cba 100644 --- a/package/musl/musl.mk +++ b/package/musl/musl.mk @@ -58,7 +58,7 @@ endef define MUSL_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ DESTDIR=$(TARGET_DIR) install-libs - $(RM) $(addprefix $(TARGET_DIR)/lib/,crt1.o crtn.o crti.o Scrt1.o) + $(RM) $(addprefix $(TARGET_DIR)/lib/,crt1.o crtn.o crti.o rcrt1.o Scrt1.o) endef $(eval $(generic-package))