comparison dev/gcc/gcc.sh @ 639:9de04ddc6f6d

vanilla: be more POSIX
author David Demelier <markand@malikania.fr>
date Thu, 25 Jul 2019 20:38:04 +0200
parents 25cecc6dca48
children 150598ec37e7
comparison
equal deleted inserted replaced
638:ed041b0e3c83 639:9de04ddc6f6d
80 --with-pkgversion="Vanilla 0.1" \ 80 --with-pkgversion="Vanilla 0.1" \
81 --disable-static \ 81 --disable-static \
82 $with_nls 82 $with_nls
83 make 83 make
84 make install DESTDIR=$DESTDIR 84 make install DESTDIR=$DESTDIR
85 rm -f usr/lib/lib{atomic,cc1,itm,mpx,mpxwrappers,quadmath}.la 85 for l in atomic cc1 itm mpx mpxwrappers quadmath ssp ssp_nonshared stdc++ stdc++fs supc++; do
86 rm -f usr/lib/lib{ssp,ssp_nonshared}.la 86 rm -f $DESTDIR/lib/lib$l.la
87 rm -f usr/lib/libstdc++{,fs}.la 87 done
88 rm -f usr/lib/libsupc++.la 88 rm -f $DESTDIR/lib/gcc/x86_64-linux-musl/8.3.0/plugin/libcc1plugin.la
89 rm -f usr/lib/gcc/x86_64-linux-musl/8.3.0/plugin/libcc1plugin.la 89 rm -f $DESTDIR/lib/gcc/x86_64-linux-musl/8.3.0/plugin/libcp1plugin.la
90 rm -f usr/lib/gcc/x86_64-linux-musl/8.3.0/plugin/libcp1plugin.la
91 cd .. 90 cd ..
92 91
93 cd .. 92 cd ..
94 rm -rf $PKGNAME-$PKGVERSION 93 rm -rf $PKGNAME-$PKGVERSION
95 } 94 }