mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 00:46:58 +02:00
eclass/toolchain: Sync with Gentoo
It's from Gentoo commit c7082538536c5fceab8d67da2365a938391c0d94.
This commit is contained in:
parent
c4fbf97990
commit
f9f86b02ff
@ -11,14 +11,14 @@
|
||||
# GNAT for Ada). If not building GCC itself, please use toolchain-funcs.eclass
|
||||
# instead.
|
||||
|
||||
if [[ -z ${_TOOLCHAIN_ECLASS} ]]; then
|
||||
_TOOLCHAIN_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
7|8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_TOOLCHAIN_ECLASS} ]]; then
|
||||
_TOOLCHAIN_ECLASS=1
|
||||
|
||||
DESCRIPTION="The GNU Compiler Collection"
|
||||
HOMEPAGE="https://gcc.gnu.org/"
|
||||
|
||||
@ -2647,7 +2647,7 @@ fix_libtool_libdir_paths() {
|
||||
pushd "${D}" >/dev/null || die
|
||||
|
||||
pushd "./${libpath}" >/dev/null || die
|
||||
local dir="${PWD#${D%/}}"
|
||||
local dir="${PWD#${D}}"
|
||||
local allarchives=$(echo *.la)
|
||||
allarchives="\(${allarchives// /\\|}\)"
|
||||
popd >/dev/null || die
|
||||
|
Loading…
Reference in New Issue
Block a user