summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-18 08:21:05 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-18 08:21:05 +0000
commit7093bbe30f2a7cc22debb71804c4f2b88abd0bae (patch)
tree54adb0c5cca42cf21efd68f9cfe1389a4ce712e2 /dev-embedded/avr-libc
parenttouchups (diff)
downloadgentoo-2-7093bbe30f2a7cc22debb71804c4f2b88abd0bae.tar.gz
gentoo-2-7093bbe30f2a7cc22debb71804c4f2b88abd0bae.tar.bz2
gentoo-2-7093bbe30f2a7cc22debb71804c4f2b88abd0bae.zip
Fix stripping of binaries #144645 by Johannes Bauer.
(Portage version: 2.1.1)
Diffstat (limited to 'dev-embedded/avr-libc')
-rw-r--r--dev-embedded/avr-libc/ChangeLog5
-rw-r--r--dev-embedded/avr-libc/avr-libc-1.4.4.ebuild11
2 files changed, 9 insertions, 7 deletions
diff --git a/dev-embedded/avr-libc/ChangeLog b/dev-embedded/avr-libc/ChangeLog
index 44979d48cec8..3b0e606148e3 100644
--- a/dev-embedded/avr-libc/ChangeLog
+++ b/dev-embedded/avr-libc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-embedded/avr-libc
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.36 2006/08/10 18:48:19 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.37 2006/09/18 08:21:05 vapier Exp $
+
+ 18 Sep 2006; Mike Frysinger <vapier@gentoo.org> avr-libc-1.4.4.ebuild:
+ Fix stripping of binaries #144645 by Johannes Bauer.
10 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org> metadata.xml:
metadata s/brix/gustavoz/
diff --git a/dev-embedded/avr-libc/avr-libc-1.4.4.ebuild b/dev-embedded/avr-libc/avr-libc-1.4.4.ebuild
index e778e54e39d9..0fef744eff36 100644
--- a/dev-embedded/avr-libc/avr-libc-1.4.4.ebuild
+++ b/dev-embedded/avr-libc/avr-libc-1.4.4.ebuild
@@ -1,6 +1,9 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.4.4.ebuild,v 1.5 2006/09/18 08:11:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.4.4.ebuild,v 1.6 2006/09/18 08:21:05 vapier Exp $
+
+CHOST="avr"
+CTARGET="avr"
inherit flag-o-matic
@@ -23,7 +26,7 @@ DEPEND=">=sys-devel/crossdev-0.9.1"
pkg_setup() {
# check for avr-gcc, bug #134738
ebegin "Checking for avr-gcc"
- if command -v avr-gcc > /dev/null 2>&1; then
+ if type -p avr-gcc > /dev/null ; then
eend 0
else
eend 1
@@ -37,8 +40,6 @@ pkg_setup() {
}
src_compile() {
- export AS=avr-as AR=avr-ar RANLIB=avr-ranlib CC=avr-gcc ABI=retarded
-
strip-flags
strip-unsupported-flags
@@ -46,8 +47,6 @@ src_compile() {
cd "${S}"/obj-avr
ECONF_SOURCE="${S}" \
- CHOST="avr" \
- CTARGET="avr" \
econf \
$(use_enable nls) \
|| die "econf failed"