diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-04-27 00:13:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-04-27 00:13:46 +0000 |
commit | 02f2b00596498307fcd0471a6ad9e4b81f25c52e (patch) | |
tree | 0ca178958ffa2b8e1d90c6af31b98d342edb57cb /dev-lang/python/python-2.4.3.ebuild | |
parent | redo how we enable protoize so it works with cross-compiling/bsd/etc... #130962 (diff) | |
download | gentoo-2-02f2b00596498307fcd0471a6ad9e4b81f25c52e.tar.gz gentoo-2-02f2b00596498307fcd0471a6ad9e4b81f25c52e.tar.bz2 gentoo-2-02f2b00596498307fcd0471a6ad9e4b81f25c52e.zip |
disable CFLAGS when cross-compiling
(Portage version: 2.1_pre9-r4)
Diffstat (limited to 'dev-lang/python/python-2.4.3.ebuild')
-rw-r--r-- | dev-lang/python/python-2.4.3.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/python/python-2.4.3.ebuild b/dev-lang/python/python-2.4.3.ebuild index e9a78c3164ea..13270f07098b 100644 --- a/dev-lang/python/python-2.4.3.ebuild +++ b/dev-lang/python/python-2.4.3.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-lang/python/python-2.4.3.ebuild,v 1.2 2006/04/14 12:54:54 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.3.ebuild,v 1.3 2006/04/27 00:13:45 vapier Exp $ # NOTE about python-portage interactions : # - Do not add a pkg_setup() check for a certain version of portage @@ -155,7 +155,7 @@ src_compile() { src_configure if tc-is-cross-compiler ; then - OPT="-O1" LDFLAGS="" \ + OPT="-O1" CFLAGS="" LDFLAGS="" \ ./configure --with-cxx=no || die "cross-configure failed" emake python Parser/pgen || die "cross-make failed" mv python hostpython |