From bb2b3fa60b5d71817f7ec8428034d3c6c603753f Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 15 Apr 2019 21:19:40 -0600 Subject: [PATCH] Remove libtool files --- mk/prefix.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mk/prefix.mk b/mk/prefix.mk index 552d74b..faa1869 100644 --- a/mk/prefix.mk +++ b/mk/prefix.mk @@ -177,7 +177,8 @@ $(PREFIX)/gcc-install: $(PREFIX)/gcc | $(PREFIX)/relibc-freestanding-install --enable-threads=posix \ && \ make -j `$(NPROC)` all-gcc all-target-libgcc all-target-libstdc++-v3 && \ - make -j `$(NPROC)` install-gcc install-target-libgcc install-target-libstdc++-v3 DESTDIR="$(ROOT)/$@.partial" + make -j `$(NPROC)` install-gcc install-target-libgcc install-target-libstdc++-v3 DESTDIR="$(ROOT)/$@.partial" && \ + rm $(ROOT)/$@.partial/$(TARGET)/lib/*.la rm -rf "$<-build" cd "$@.partial" && $(PREFIX_STRIP) touch "$@.partial"