gcc/STAGE1-t-gcc
2015-06-16 13:21:33 +02:00

12 lines
401 B
Plaintext

srpm gcc
mcd $BUILDDIR/t-gcc
$SRC/gcc-*/configure $GCC_TCONFIGARGS --enable-linker-build-id
notparallel
make $J
make $J install DESTDIR=${ROOTFS}
test -e ${ROOTFS}/usr/bin/cc && rm ${ROOTFS}/usr/bin/cc
ln -s gcc ${ROOTFS}/usr/bin/cc
mkdir -p ${ROOTFS}/usr/share/gdb/auto-load/usr/lib${SUFFIX}
mv -f ${ROOTFS}/usr/lib${SUFFIX}/libstdc++*gdb.py* \
${ROOTFS}/usr/share/gdb/auto-load/usr/lib${SUFFIX}