Remove *.la files after gcc build.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 10 Aug 2016 21:39:40 +0000 (22:39 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 10 Aug 2016 21:39:40 +0000 (22:39 +0100)
Fixes commit 106748c4b14415206f5d81d78d0a2529b1b2edac.

Makefile

index 3f9c6dc..7fe10ab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -510,6 +510,7 @@ stage3-chroot/usr/bin/gcc: gcc-$(GCC_X_VERSION).tar.gz
            --disable-multilib
        cd riscv-gcc-riscv-gcc-$(GCC_X_VERSION)/build && PATH=$(ROOT)/fixed-gcc:$$PATH make
        cd riscv-gcc-riscv-gcc-$(GCC_X_VERSION)/build && make install DESTDIR=$(ROOT)/stage3-chroot
+       rm -f stage3-chroot/usr/lib64/*.la
 
 gcc-$(GCC_X_VERSION).tar.gz:
        rm -f $@ $@-t