comparison dev/gcc/gcc.sh @ 817:0e6c54d47dfb

vanilla: fix many FHS issues While here, remove libtool files in a generic manner to avoid stale files.
author David Demelier <markand@malikania.fr>
date Wed, 21 Aug 2019 09:04:13 +0200
parents 59a2fa6992bc
children ae55d9077f70
comparison
equal deleted inserted replaced
816:be3a5b2d9a09 817:0e6c54d47dfb
79 --disable-libgomp \ 79 --disable-libgomp \
80 --with-pkgversion="Vanilla 0.2" \ 80 --with-pkgversion="Vanilla 0.2" \
81 $with_nls 81 $with_nls
82 make 82 make
83 make install DESTDIR=$DESTDIR 83 make install DESTDIR=$DESTDIR
84 for l in atomic cc1 itm mpx mpxwrappers quadmath ssp ssp_nonshared stdc++ stdc++fs supc++; do 84 find $DESTDIR -type f -name "*.la" -delete
85 rm -f $DESTDIR/lib/lib$l.la
86 done
87 rm -f $DESTDIR/lib/gcc/x86_64-linux-musl/8.3.0/plugin/libcc1plugin.la
88 rm -f $DESTDIR/lib/gcc/x86_64-linux-musl/8.3.0/plugin/libcp1plugin.la
89 # Avoid conflict with clang-cpp.
90 rm -f $DESTDIR/bin/cpp
91 cd .. 85 cd ..
92 86
93 cd .. 87 cd ..
94 rm -rf $PKGNAME-$PKGVERSION 88 rm -rf $PKGNAME-$PKGVERSION
95 } 89 }