summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-23 11:19:40 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-23 11:19:40 +0000
commita9adcb4ccc97055680c69807d735caf0e2d797f6 (patch)
tree45e53566c6467ccc29a864fbbdded7bf0e8c8fc0
parentMake sure we strip with the target toolchain #148437. (diff)
downloadgentoo-2-a9adcb4ccc97055680c69807d735caf0e2d797f6.tar.gz
gentoo-2-a9adcb4ccc97055680c69807d735caf0e2d797f6.tar.bz2
gentoo-2-a9adcb4ccc97055680c69807d735caf0e2d797f6.zip
Make sure we strip with the target toolchain #148437.
(Portage version: 2.1.2_pre1)
-rw-r--r--dev-util/w32api/ChangeLog5
-rw-r--r--dev-util/w32api/w32api-3.7.ebuild5
2 files changed, 7 insertions, 3 deletions
diff --git a/dev-util/w32api/ChangeLog b/dev-util/w32api/ChangeLog
index 31da7157c46b..d523ab1b0641 100644
--- a/dev-util/w32api/ChangeLog
+++ b/dev-util/w32api/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/w32api
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/ChangeLog,v 1.1 2006/09/17 07:04:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/ChangeLog,v 1.2 2006/09/23 11:19:40 vapier Exp $
+
+ 23 Sep 2006; Mike Frysinger <vapier@gentoo.org> w32api-3.7.ebuild:
+ Make sure we strip with the target toolchain #148437.
*w32api-3.7 (17 Sep 2006)
diff --git a/dev-util/w32api/w32api-3.7.ebuild b/dev-util/w32api/w32api-3.7.ebuild
index 233cd57b4064..d8759c755b37 100644
--- a/dev-util/w32api/w32api-3.7.ebuild
+++ b/dev-util/w32api/w32api-3.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/w32api-3.7.ebuild,v 1.1 2006/09/17 07:04:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/w32api-3.7.ebuild,v 1.2 2006/09/23 11:19:40 vapier Exp $
export CBUILD=${CBUILD:-${CHOST}}
export CTARGET=${CTARGET:-${CHOST}}
@@ -42,7 +42,7 @@ src_unpack() {
src_compile() {
just_headers && return 0
- unset CFLAGS CXXFLAGS LDFLAGS
+ strip-unsupported-flags
econf \
--host=${CTARGET} \
--prefix=/usr/${CTARGET}/usr \
@@ -56,6 +56,7 @@ src_install() {
doins -r include/* || die
else
emake install DESTDIR="${D}" || die
+ env -uRESTRICT CHOST=${CTARGET} prepallstrip
dodoc CONTRIBUTIONS ChangeLog README.w32api TODO
fi
}