# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit cmake-utils flag-o-matic
+inherit cmake-utils
DESCRIPTION="Toolset to accelerate the boot process and application startup"
HOMEPAGE="http://e4rat.sourceforge.net/"
RDEPEND="${DEPEND}"
+CMAKE_BUILD_TYPE=release
CMAKE_IN_SOURCE_BUILD=1
-PATCHES=( "${FILESDIR}/cmake_mkdir_violation_fix.patch" )
-
-src_compile() {
- filter-ldflags "-Wl,--as-needed"
- cmake-utils_src_compile
-}
+PATCHES=( "${FILESDIR}/cmake_mkdir_violation_fix.patch"
+ "${FILESDIR}/v0.1.5_as-needed_fix.patch" )
pkg_preinst() {
dodir /var/lib/e4rat