summaryrefslogtreecommitdiff
path: root/Ports/gcc/package.sh
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-03-11 19:50:44 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-11 21:01:29 +0100
commitf318ab6bed4603a18198b36da682b6fd36a68f91 (patch)
tree8e602fa2cc198f8a457c8fcf2c20f61ad63eebc9 /Ports/gcc/package.sh
parentf45e16a6a219e50124c57d031bd7738717c956af (diff)
downloadserenity-f318ab6bed4603a18198b36da682b6fd36a68f91.zip
Ports: Replace hardcoded Build/ paths with SERENITY_BUILD_DIR
Fixes #5710.
Diffstat (limited to 'Ports/gcc/package.sh')
-rwxr-xr-xPorts/gcc/package.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ports/gcc/package.sh b/Ports/gcc/package.sh
index ef757db1ac..e48fb09d37 100755
--- a/Ports/gcc/package.sh
+++ b/Ports/gcc/package.sh
@@ -2,12 +2,12 @@
port=gcc
version=10.2.0
useconfigure=true
-configopts="--target=i686-pc-serenity --with-sysroot=/ --with-build-sysroot=$SERENITY_ROOT/Build/Root --with-newlib --enable-languages=c,c++ --disable-lto --disable-nls --enable-shared --enable-default-pie --enable-host-shared"
+configopts="--target=i686-pc-serenity --with-sysroot=/ --with-build-sysroot=${SERENITY_BUILD_DIR}/Root --with-newlib --enable-languages=c,c++ --disable-lto --disable-nls --enable-shared --enable-default-pie --enable-host-shared"
files="https://ftp.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz gcc-${version}.tar.xz
https://ftp.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz.sig gcc-${version}.tar.xz.sig
https://ftp.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
makeopts="all-gcc all-target-libgcc all-target-libstdc++-v3 -j $(nproc)"
-installopts="DESTDIR=$SERENITY_ROOT/Build/Root install-gcc install-target-libgcc install-target-libstdc++-v3"
+installopts="DESTDIR=${SERENITY_BUILD_DIR}/Root install-gcc install-target-libgcc install-target-libstdc++-v3"
depends="binutils"
auth_type="sig"
auth_opts="--keyring ./gnu-keyring.gpg gcc-${version}.tar.xz.sig"