mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-13 09:17:09 +02: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:
parent
52cdf14299
commit
5a434d40e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user