From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 671B81384B4 for ; Fri, 18 Dec 2015 00:00:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00715E086F; Fri, 18 Dec 2015 00:00:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C556E086F for ; Fri, 18 Dec 2015 00:00:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CD84833F9D2 for ; Fri, 18 Dec 2015 00:00:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D22CCB0 for ; Fri, 18 Dec 2015 00:00:42 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1450396805.449cec71c892a45e0c43aa1019d5e08b6337d059.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/open-iscsi/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/open-iscsi/open-iscsi-2.0.873-r1.ebuild X-VCS-Directories: sys-block/open-iscsi/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 449cec71c892a45e0c43aa1019d5e08b6337d059 X-VCS-Branch: master Date: Fri, 18 Dec 2015 00:00:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fb8710f7-a2b2-493f-bf4b-871b41394e20 X-Archives-Hash: cf0c36c6bf1e02a4bd9da09a06864658 commit: 449cec71c892a45e0c43aa1019d5e08b6337d059 Author: Mike Frysinger gentoo org> AuthorDate: Thu Dec 17 23:56:48 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Fri Dec 18 00:00:05 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=449cec71 sys-block/open-iscsi: fix handling of user CPPFLAGS sys-block/open-iscsi/open-iscsi-2.0.873-r1.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys-block/open-iscsi/open-iscsi-2.0.873-r1.ebuild b/sys-block/open-iscsi/open-iscsi-2.0.873-r1.ebuild index 4392860..05d9790 100644 --- a/sys-block/open-iscsi/open-iscsi-2.0.873-r1.ebuild +++ b/sys-block/open-iscsi/open-iscsi-2.0.873-r1.ebuild @@ -52,6 +52,8 @@ src_prepare() { } src_configure() { + use debug && append-cppflags -DDEBUG_TCP -DDEBUG_SCSI + cd utils/open-isns || die # SSL (--with-security) is broken @@ -60,11 +62,11 @@ src_configure() { } src_compile() { - use debug && append-flags -DDEBUG_TCP -DDEBUG_SCSI - + # Stuffing CPPFLAGS into CFLAGS isn't entirely correct, but the build + # is messed up already here, so it's not making it that much worse. KSRC="${KV_DIR}" CFLAGS="" \ emake \ - OPTFLAGS="${CFLAGS}" \ + OPTFLAGS="${CFLAGS} ${CPPFLAGS}" \ AR="$(tc-getAR)" CC="$(tc-getCC)" \ user }