Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/x264-svn-20070924.ebuild,v 1.1 2007/09/24 17:41:23 aballier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/x264-svn-20070924.ebuild,v 1.1 2007/09/24 17:41:23 aballier Exp $ |
4 |
|
4 |
|
5 |
inherit multilib eutils toolchain-funcs |
5 |
inherit multilib eutils toolchain-funcs flag-o-matic |
6 |
|
6 |
|
7 |
IUSE="debug threads" |
7 |
IUSE="debug threads" |
8 |
|
8 |
|
Lines 37-42
Link Here
|
37 |
} |
37 |
} |
38 |
|
38 |
|
39 |
src_compile() { |
39 |
src_compile() { |
|
|
40 |
|
41 |
if use debug; then |
42 |
filter-flags -g -O? |
43 |
else |
44 |
filter-flags -O? -ffast-math |
45 |
fi |
46 |
|
40 |
local myconf="" |
47 |
local myconf="" |
41 |
use debug && myconf="${myconf} --enable-debug" |
48 |
use debug && myconf="${myconf} --enable-debug" |
42 |
./configure --prefix=/usr \ |
49 |
./configure --prefix=/usr \ |