Mercurial > vanilla
comparison dev/binutils/binutils.sh @ 520:c6c29dc90899
dev: use new FHS
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 09 Apr 2019 19:49:25 +0200 |
parents | 515778c3a417 |
children | bad483aace64 |
comparison
equal
deleted
inserted
replaced
519:824fb5352478 | 520:c6c29dc90899 |
---|---|
62 LIBS="$LIBS" \ | 62 LIBS="$LIBS" \ |
63 ./configure \ | 63 ./configure \ |
64 --build=$CBUILD \ | 64 --build=$CBUILD \ |
65 --host=$CHOST \ | 65 --host=$CHOST \ |
66 --target=$CTARGET \ | 66 --target=$CTARGET \ |
67 --prefix=/usr \ | 67 --prefix=/ \ |
68 --disable-werror \ | 68 --disable-werror \ |
69 --enable-gold \ | 69 --enable-gold \ |
70 --enable-ld=default \ | 70 --enable-ld=default \ |
71 --enable-lto \ | 71 --enable-lto \ |
72 --enable-plugins \ | 72 --enable-plugins \ |
75 --enable-threads \ | 75 --enable-threads \ |
76 --with-pic \ | 76 --with-pic \ |
77 --with-system-zlib \ | 77 --with-system-zlib \ |
78 $with_nls \ | 78 $with_nls \ |
79 $with_gdb | 79 $with_gdb |
80 make tooldir=/usr | 80 make tooldir=/ |
81 make tooldir=/usr install DESTDIR=$DESTDIR | 81 make tooldir=/ install DESTDIR=$DESTDIR |
82 rm -f $DESTDIR/usr/lib/libbfd.la | 82 rm -f $DESTDIR/lib/libbfd.la |
83 rm -f $DESTDIR/usr/lib/libopcodes.la | 83 rm -f $DESTDIR/lib/libopcodes.la |
84 | |
85 | 84 |
86 popd | 85 popd |
87 rm -rf $PKGNAME-$PKGVERSION | 86 rm -rf $PKGNAME-$PKGVERSION |
88 } | 87 } |