comparison dev/binutils/binutils.sh @ 765:859f76ffb512

vanilla: revert binutils for now
author David Demelier <markand@malikania.fr>
date Thu, 08 Aug 2019 17:10:50 +0200
parents 59a2fa6992bc
children e91fbcb3d1ef
comparison
equal deleted inserted replaced
764:fc7a2268d9a6 765:859f76ffb512
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= \
67 --sbindir=/bin \ 68 --sbindir=/bin \
68 --prefix= \
69 --disable-werror \ 69 --disable-werror \
70 --enable-shared \ 70 --enable-shared \
71 --program-prefix=binutils- \
72 --with-system-zlib \ 71 --with-system-zlib \
73 $with_nls \ 72 $with_nls \
74 $with_gdb 73 $with_gdb
75 make 74 make
76 make install DESTDIR=$DESTDIR 75 make install DESTDIR=$DESTDIR
77 rm -f $DESTDIR/lib/libbfd.la 76 rm -f $DESTDIR/lib/*.la
78 rm -f $DESTDIR/lib/libopcodes.la
79
80 # --program-prefix-binutils is not enough, remove conflicts with llvm.
81 rm -f $DESTDIR/bin/ar
82 rm -f $DESTDIR/bin/as
83 rm -f $DESTDIR/bin/objcopy
84 rm -f $DESTDIR/bin/objdump
85 rm -f $DESTDIR/bin/nm
86 rm -f $DESTDIR/bin/ranlib
87 rm -f $DESTDIR/bin/readelf
88 rm -f $DESTDIR/bin/strip
89 77
90 cd .. 78 cd ..
91 rm -rf $PKGNAME-$PKGVERSION 79 rm -rf $PKGNAME-$PKGVERSION
92 } 80 }