gmp/STAGE1-gmp
Petr Šabata 9ce7b94b52 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/gmp#7b512200fd99a0b54343a9912c49f1e08596279a
2020-10-15 01:48:21 +02:00

23 lines
656 B
Plaintext

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