summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-07-13 09:17:29 +0000
committerMike Frysinger <vapier@gentoo.org>2015-07-13 09:17:29 +0000
commit084715de9651a06f92279a85d4678d6afd286cf9 (patch)
tree81820f18e1e42b851f13dc1ad56172e94f287be9 /dev-embedded
parentVersion bump. (diff)
downloadgentoo-2-084715de9651a06f92279a85d4678d6afd286cf9.tar.gz
gentoo-2-084715de9651a06f92279a85d4678d6afd286cf9.tar.bz2
gentoo-2-084715de9651a06f92279a85d4678d6afd286cf9.zip
Revert invalid CTARGET munging and restore proper stripping logic -- the scanelf ar warning is fixed with newer pax-utils #553754 by Tiger.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/sdcc/ChangeLog6
-rw-r--r--dev-embedded/sdcc/sdcc-3.5.0.ebuild13
2 files changed, 11 insertions, 8 deletions
diff --git a/dev-embedded/sdcc/ChangeLog b/dev-embedded/sdcc/ChangeLog
index 2b590d140eeb..46088e281995 100644
--- a/dev-embedded/sdcc/ChangeLog
+++ b/dev-embedded/sdcc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-embedded/sdcc
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/ChangeLog,v 1.57 2015/07/13 08:38:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/ChangeLog,v 1.58 2015/07/13 09:17:29 vapier Exp $
+
+ 13 Jul 2015; Mike Frysinger <vapier@gentoo.org> sdcc-3.5.0.ebuild:
+ Revert invalid CTARGET munging and restore proper stripping logic -- the
+ scanelf ar warning is fixed with newer pax-utils #553754 by Tiger.
13 Jul 2015; Mike Frysinger <vapier@gentoo.org> sdcc-3.5.0.ebuild,
sdcc-9999.ebuild:
diff --git a/dev-embedded/sdcc/sdcc-3.5.0.ebuild b/dev-embedded/sdcc/sdcc-3.5.0.ebuild
index d786f3645e18..3bb3b8b32bb4 100644
--- a/dev-embedded/sdcc/sdcc-3.5.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/sdcc-3.5.0.ebuild,v 1.9 2015/07/13 08:38:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/sdcc-3.5.0.ebuild,v 1.10 2015/07/13 09:17:29 vapier Exp $
EAPI="5"
@@ -34,8 +34,6 @@ REQUIRED_USE="
hc08? ( sdbinutils )
s08? ( sdbinutils )"
-# ADD "binchecks" to fix the "scanelf: Invalid 'ar' entry" messages
-# OR leave the overwrite of CTARGET in src_install()
RESTRICT="strip"
RDEPEND="dev-libs/boost:=
@@ -75,6 +73,7 @@ src_configure() {
# sdbinutils subdir doesn't pass down --docdir properly, so need to
# expand $(datarootdir) ourselves.
econf \
+ ac_cv_prog_STRIP=true \
ac_cv_prog_AS="$(tc-getAS)" \
ac_cv_prog_AR="$(tc-getAR)" \
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
@@ -114,8 +113,8 @@ src_install() {
dohtml -r *
fi
- # See /usr/lib/portage/python${version}/install-qa-check.d/10executable-issues
- # Installed libs are not for our CHOST but for microcontrollers
- # This disable QA_EXECSTACK, QA_WX_LOAD and scanelf -qyRAF '%e %p'
- CTARGET="undefined"
+ # a bunch of archives (*.a) are built & installed by gputils
+ # for PIC processors, but they do not work with standard `ar`
+ # & `scanelf` utils and they're not for the host.
+ env RESTRICT="" prepstrip "${D%/}"/usr/bin
}