diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-04-07 11:51:11 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-04-07 11:51:11 +0100 |
commit | cb22827620f16f8e29fdeb3654a7e5a846af517e (patch) | |
tree | d8ed8d300a6e0da2729bd76aac3fe2cc6a23ec07 | |
parent | README: fixed typo s/rinning/running/ (diff) | |
download | crossdev-cb22827620f16f8e29fdeb3654a7e5a846af517e.tar.gz crossdev-cb22827620f16f8e29fdeb3654a7e5a846af517e.tar.bz2 crossdev-cb22827620f16f8e29fdeb3654a7e5a846af517e.zip |
crossdev: revert ldscripts hack
Commit 03640757f2af1471324fc3e305f899f377d6409d
("add one more avr-specific hack")
added ${EPREFIX}/usr/${CTARGET}/lib/ldscripts symlink for avr targets.
The bug was not avr-specific but manifested only on avr ecause it's one
of rare targets that don't embed default inker scripts intofinal ld executable.
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b023986de7d466d361798bae98f45f8ba7a42e8a
fixed search path in binutils ebuild and we are safe to revert this change.
Bug: https://bugs.gentoo.org/147155
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rwxr-xr-x | crossdev | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -232,7 +232,6 @@ parse_target() { MULTILIB_USE="yes" #377039 BUSE+=" cxx" STAGE_DEFAULT=${STAGE_LIBC} - MAKE_SYMLINK="yes" WITH_DEF_HEADERS="no";; # Has no glibc support yet (or even ABI defined). Can @@ -549,7 +548,6 @@ uninstall() { # clean out files from crossdev itself [[ -e ${EPREFIX}/var/db/pkg/cross-${CTARGET} ]] && rmdir "${EPREFIX}"/var/db/pkg/cross-${CTARGET} rm -f "${EPREFIX}"/usr/bin/${CTARGET}-{emerge,fix-root,pkg-config} "${EPREFIX}"/usr/bin/emerge-${CTARGET} - [[ -h ${EPREFIX}/usr/${CTARGET}/lib/ldscripts ]] && rm "${EPREFIX}"/usr/${CTARGET}/lib/ldscripts for f in make.{conf,globals,profile} ; do f="${EPREFIX}/usr/${CTARGET}/etc/${f}" @@ -1395,16 +1393,6 @@ if ! ex_fast ; then USE="${GUSE} ${USE} ${GUSE_DISABLE_STAGE_2}" \ doemerge ${GPKG} ${GPKG}-stage2 fi - - # this is to make sure that avr linker can find its a**, er, ldscripts - if [[ ${MAKE_SYMLINK} == "yes" ]] ; then - case ${CTARGET} in - avr*) ( ! [[ -h ${EPREFIX}/usr/${CTARGET}/lib/ldscripts ]] && [[ -d ${EPREFIX}/usr/${CTARGET}/lib ]] ) && \ - ln -s ${EPREFIX}/usr/${HCHOST}/${CTARGET}/lib/ldscripts ${EPREFIX}/usr/${CTARGET}/lib/ - ;; - *) ;; - esac - fi fi # all the extra things (like debuggers) |