Adding STAGE1 bootstrap recipe
This commit is contained in:
parent
e999a7d386
commit
5c32a14402
22
STAGE1-gmp
Normal file
22
STAGE1-gmp
Normal file
@ -0,0 +1,22 @@
|
||||
L=$1
|
||||
srpm $L
|
||||
mcd $BUILDDIR/t-$L
|
||||
$SRC/${L}-*/configure $TCONFIGARGS
|
||||
make $J
|
||||
|
||||
# The contents of libdir (which in this case is
|
||||
# /usr/lib${SUFFIX}), will get passed to -L in one of the
|
||||
# (re)link stages while installing, thus getting libgcc_so.*
|
||||
# from the host.
|
||||
#
|
||||
# ?? I don't understand why --libdir=/usr/lib64 is being
|
||||
# passed in $TCONFIGARGS instead of
|
||||
# --libdir=${ROOTFS}/usr/lib64, but assuming that's the way
|
||||
# it's supposed to to be, then fix libdir here right before
|
||||
# installing the binaries. ??--aldyh
|
||||
for i in *.la; do
|
||||
sed -i~ -e "s;libdir='/usr/lib;libdir='$ROOTFS/usr/lib;" $i
|
||||
done
|
||||
make $J install DESTDIR=${ROOTFS}
|
||||
|
||||
fix_la $L
|
Loading…
Reference in New Issue
Block a user