1.5. tmp libstdc++-9.2.0
#!/bin/sh # Copyright © 1999-2020 Gerard Beekmans # Copyright © 2017-2020 Random Crew # Distributed under the terms of MIT License. MY_P="gcc-${PV}" MY_PD="${MY_P}"
Configuration
src_config() { mkdir -v build cd build ../libstdc++-v3/configure \ --host=${LFS_TGT} \ --prefix=${PREFIX} \ --disable-multilib \ --disable-nls \ --disable-libstdcxx-threads \ --disable-libstdcxx-pch \ --with-gxx-include-dir=${PREFIX}/$LFS_TGT/include/c++/${PV} }
Compilation
src_compile() { make ${MAKEOPTS} }
Installation
src_install() { make install ${MAKEOPTS} DESTDIR=$D }
Links
- url.lfs:
- url.lfs.stage1: https://linuxfromscratch.org/lfs/view/9.1/chapter05/gcc-libstdc++.html