1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:07:35 +00:00

Ports/gcc: Install dependencies as ports

This lets us remove a couple manual config.sub patches.
This commit is contained in:
Daniel Bertalan 2022-05-07 17:01:03 +02:00 committed by Andreas Kling
parent f123fd7af6
commit 2c0c1dca04
2 changed files with 1 additions and 48 deletions

View file

@ -6,12 +6,9 @@ configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-sysroot=/" "--with-b
files="https://ftpmirror.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz gcc-${version}.tar.xz d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b"
makeopts=("all-gcc" "all-target-libgcc" "all-target-libstdc++-v3" "-j$(nproc)")
installopts=("DESTDIR=${SERENITY_INSTALL_ROOT}" "install-gcc" "install-target-libgcc" "install-target-libstdc++-v3")
depends=("binutils")
depends=("binutils" "gmp" "mpfr" "mpc" "isl")
auth_type="sha256"
post_fetch() {
run contrib/download_prerequisites
}
build() {
run make "${makeopts[@]}"