diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-03-18 22:37:38 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-03-18 22:37:38 +0000 |
commit | 3b3cf7a08544df7a4cd32d256d57aa4ed480ed89 (patch) | |
tree | 196ec0aaf1bf1085cb17edf697bf33cd8f07657b | |
parent | arm/hppa/ia64/s390/sh stable (diff) | |
download | gentoo-2-3b3cf7a08544df7a4cd32d256d57aa4ed480ed89.tar.gz gentoo-2-3b3cf7a08544df7a4cd32d256d57aa4ed480ed89.tar.bz2 gentoo-2-3b3cf7a08544df7a4cd32d256d57aa4ed480ed89.zip |
Respect *FLAGS and CC.
(Portage version: 2.1_pre6-r3)
-rw-r--r-- | media-libs/x264-svn/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/x264-svn/x264-svn-20060302-r1.ebuild | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/media-libs/x264-svn/ChangeLog b/media-libs/x264-svn/ChangeLog index c8d4046c537c..bb2da24b83a7 100644 --- a/media-libs/x264-svn/ChangeLog +++ b/media-libs/x264-svn/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/x264-svn # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/ChangeLog,v 1.12 2006/03/18 16:17:02 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/ChangeLog,v 1.13 2006/03/18 22:37:38 flameeyes Exp $ + + 18 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> + x264-svn-20060302-r1.ebuild: + Respect *FLAGS and CC. 18 Mar 2006; Markus Rothe <corsair@gentoo.org> x264-svn-20060302-r1.ebuild: diff --git a/media-libs/x264-svn/x264-svn-20060302-r1.ebuild b/media-libs/x264-svn/x264-svn-20060302-r1.ebuild index 63ca1673f9c1..3fbf93e636af 100644 --- a/media-libs/x264-svn/x264-svn-20060302-r1.ebuild +++ b/media-libs/x264-svn/x264-svn-20060302-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/x264-svn-20060302-r1.ebuild,v 1.3 2006/03/18 16:17:02 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/x264-svn-20060302-r1.ebuild,v 1.4 2006/03/18 22:37:38 flameeyes Exp $ -inherit multilib eutils +inherit multilib eutils toolchain-funcs IUSE="debug mp4 threads" @@ -33,12 +33,15 @@ src_compile() { ./configure --prefix=/usr \ --libdir=/usr/$(get_libdir) \ --enable-pic \ + "--extra-cflags=${CFLAGS}" \ + "--extra-ldflags=${LDFLAGS}" \ + "--extra-asflags=${ASFLAGS}" \ $(use_enable debug) \ $(use_enable threads pthread) \ $(use_enable mp4 mp4-output) \ $myconf \ || die "configure failed" - emake -j1 || die "make failed" + emake -j1 CC="$(tc-getCC)" || die "make failed" } src_install() { |