1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

main/gcc: turn $_gcclibdir/exec into relative paths

prevents double slashes as all use of these variables are
already prefixed with a /, except for the `amove`s which
work better with relative paths anyway (to prevent accidentally
globbing the absolute path on the builder, for example in gnat()).
This commit is contained in:
Celeste 2025-05-31 16:06:11 +00:00
parent 52cdf14299
commit 5a434d40e5

View file

@ -265,8 +265,8 @@ source="https://gcc.gnu.org/pub/gcc/releases/gcc-$_pkgbase/gcc-$_pkgbase.tar.xz
# we build out-of-tree
#builddir="$srcdir"/gcc-${_pkgbase%%.*}-$_pkgsnap
builddir="$srcdir"/gcc-$_pkgbase
_gcclibdir="/usr/lib/gcc/$CTARGET/$_pkgbase"
_gcclibexec="/usr/libexec/gcc/$CTARGET/$_pkgbase"
_gcclibdir="usr/lib/gcc/$CTARGET/$_pkgbase"
_gcclibexec="usr/libexec/gcc/$CTARGET/$_pkgbase"
prepare() {
default_prepare