From patchwork Sun Jan 10 21:25:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Kehn X-Patchwork-Id: 565542 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id BEE7A140662 for ; Mon, 11 Jan 2016 08:25:33 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=yahoo.com header.i=@yahoo.com header.b=oi6dHfEJ; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1188389D42; Sun, 10 Jan 2016 21:25:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BizACinSBWMA; Sun, 10 Jan 2016 21:25:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id BC8358971F; Sun, 10 Jan 2016 21:25:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id D09941C107A for ; Sun, 10 Jan 2016 21:25:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C7A2E26878 for ; Sun, 10 Jan 2016 21:25:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tMPHi08PLpHq for ; Sun, 10 Jan 2016 21:25:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from nm13-vm3.bullet.mail.ne1.yahoo.com (nm13-vm3.bullet.mail.ne1.yahoo.com [98.138.91.143]) by silver.osuosl.org (Postfix) with ESMTPS id 908FF241CA for ; Sun, 10 Jan 2016 21:25:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1452461124; bh=RauT4h4HOfxKwElpGCDNI3+EwXHKMW0KaDOdrrBX2Nc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject; b=oi6dHfEJMW6e8NcpOh9JrdmlUDEcKOyicOrns5N1xEZnM3Wn9tIi2TUELaDHil+3I3aoGIC2rgwanyDwX6iEX39Zxj2GyLCEacsW25NSOi07jDNkDn79vpi0RAmnB0i271AGk3qNILiR/Wuer5pJA3yWS8fiSKZw/nPquANCEH7qyBhLKu9twb5ZOP8sPYXoA+Y3ZXb4I7/Uj5cQSZ8Is2RHRtWceRUjBfbgrN3OWOFhTAejO/OAiSQUJc0Xtrvt9DCnQbq2uAAwTnHEZ/cFIRpeoCHunSK6wdKp96pdoDC8WKOJLacyh3SJbcS4HH8ANEZuKqX6ojenvzLLdrgffQ== Received: from [98.138.100.114] by nm13.bullet.mail.ne1.yahoo.com with NNFMP; 10 Jan 2016 21:25:24 -0000 Received: from [98.138.226.59] by tm105.bullet.mail.ne1.yahoo.com with NNFMP; 10 Jan 2016 21:25:24 -0000 Received: from [127.0.0.1] by smtp210.mail.ne1.yahoo.com with NNFMP; 10 Jan 2016 21:25:24 -0000 X-Yahoo-Newman-Id: 925892.15017.bm@smtp210.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: K3sod4EVM1nqJuVXUcpWcnWq6vtrdxnFEtu4LP_FzRgiCjv c389fmp4lX1i6R6JxUGNCm6jo_cPzB_ags4.xtYwB30f7Dd_UQIXpZcG1Len 5OukcewPk9VR6raUC2op.Xwf7gRuyqBDOzNJZN24A62PNRxpiHU8sq0EvX_Y 15z.FtL_0a1dia95bhhKw.2B_Z0lHwxNpYquWPCyAeaGuiQ2g0jfmPlKFB1s C7tdnDdGkJZGzd0RQSHQMBgRUKtwLJi3RdmweBwqO1hqAKkbtSv.4BozCdXX jFtTILqtRwybge8J0U6o0pg9dEwGA.Q7Fe2PLTQglEzsN_ukjN6GZ_LUMRhI yKk8_TpSpeeWh9UnGX2CoQZciWdMRi9ezoV5oU4KU9ReyEy1a4EcWfzXXqQf Mph8Y6yHgiikmdcgH2pZixxFgjiG.YF0MfMSgX.NLyHdbh9OkxmdfVIdu6op RIsbocFNxTLDkMm_7bMuxrXiGRESUREHZ9hT9EPs1h7Hqfno7bKaYsq5S1DB gFuJrWxGOf4_i_rDCSeNqwFfvyU4z_H3Z6K6_ X-Yahoo-SMTP: tVp.douswBADms9I1_pvnFcs0w-- From: Doug Kehn To: buildroot@buildroot.org Date: Sun, 10 Jan 2016 15:25:08 -0600 Message-Id: <1452461109-27498-4-git-send-email-rdkehn@yahoo.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1452461109-27498-1-git-send-email-rdkehn@yahoo.com> References: <1452461109-27498-1-git-send-email-rdkehn@yahoo.com> Subject: [Buildroot] [RFC PATCH v2 3/4] package/dhcp: ensure host cc is used for compiling gen X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch is derived from: http://wiki.beyondlogic.org/patches/dhcp-4.3.0b1.bind_arm-linux-gnueabi.patch Signed-off-by: Doug Kehn --- Changes v1 -> v2 - no changes --- package/dhcp/0002-dhcp-bind-host-gen.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/dhcp/0002-dhcp-bind-host-gen.patch diff --git a/package/dhcp/0002-dhcp-bind-host-gen.patch b/package/dhcp/0002-dhcp-bind-host-gen.patch new file mode 100644 index 0000000..0a33693 --- /dev/null +++ b/package/dhcp/0002-dhcp-bind-host-gen.patch @@ -0,0 +1,22 @@ +ensure host cc is used for compiling gen + +This patch is derived from: +http://wiki.beyondlogic.org/patches/dhcp-4.3.0b1.bind_arm-linux-gnueabi.patch + +Signed-off-by: Doug Kehn + +Index: dhcp-4.3.3/bind/bind-9.9.7-P3/lib/export/dns/Makefile.in +=================================================================== +--- dhcp-4.3.3.orig/bind/bind-9.9.7-P3/lib/export/dns/Makefile.in ++++ dhcp-4.3.3/bind/bind-9.9.7-P3/lib/export/dns/Makefile.in +@@ -168,7 +168,9 @@ code.h: gen + ./gen -s ${srcdir} > code.h + + gen: ${srcdir}/gen.c +- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS} ++ ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \ ++ ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \ ++ ${BUILD_LIBS} + + #We don't need rbtdb64 for this library + #rbtdb64.@O@: rbtdb.c