blob: 14015298e88bb485e799dbaf9c3116f5fa8aaa06 [file] [log] [blame]
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit eutils toolchain-funcs
DESCRIPTION="Time and memory-efficiency tests of various C/POSIX standard library functions"
HOMEPAGE="http://www.etalabs.net/libc-bench.html http://git.musl-libc.org/cgit/libc-bench/"
SRC_URI="http://www.etalabs.net/releases/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="*"
IUSE=""
RDEPEND="!dev-util/libc-bench"
src_prepare() {
epatch "${FILESDIR}"/respect-flags.patch
}
src_configure() {
tc-export CC
CFLAGS+=" ${CPPFLAGS}"
}
src_install() {
dobin libc-bench
}