diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-10-14 15:00:28 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-10-14 15:00:28 +0000 |
commit | 5e6c35e618121f979e7eb5be54b4c00df0ea5470 (patch) | |
tree | a32534d278ad36c98bdc181d1b0eb3aafb4385d4 /sys-process/runit/runit-1.7.0.ebuild | |
parent | Fix CFLAGS handling so they get injected during src_compile rather than set i... (diff) | |
download | gentoo-2-5e6c35e618121f979e7eb5be54b4c00df0ea5470.tar.gz gentoo-2-5e6c35e618121f979e7eb5be54b4c00df0ea5470.tar.bz2 gentoo-2-5e6c35e618121f979e7eb5be54b4c00df0ea5470.zip |
Set compiler and linker during src_compile rather than unpack.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'sys-process/runit/runit-1.7.0.ebuild')
-rw-r--r-- | sys-process/runit/runit-1.7.0.ebuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys-process/runit/runit-1.7.0.ebuild b/sys-process/runit/runit-1.7.0.ebuild index 48d85fe3ca4a..d2c40292bb1e 100644 --- a/sys-process/runit/runit-1.7.0.ebuild +++ b/sys-process/runit/runit-1.7.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/runit-1.7.0.ebuild,v 1.7 2008/05/12 15:56:02 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/runit-1.7.0.ebuild,v 1.8 2008/10/14 15:00:28 flameeyes Exp $ inherit toolchain-funcs flag-o-matic @@ -23,14 +23,15 @@ src_unpack() { # we either build everything or nothing static sed -i -e 's:-static: :' src/Makefile - use static && append-ldflags -static - - echo "$(tc-getCC) ${CFLAGS}" > src/conf-cc - echo "$(tc-getCC) ${LDFLAGS}" > src/conf-ld } src_compile() { cd src + use static && append-ldflags -static + + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld + emake || die "make failed" } |