From patchwork Wed Aug 6 19:16:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yann Diorcet X-Patchwork-Id: 377361 X-Patchwork-Delegate: esben@haabendal.dk Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [IPv6:2001:878:346::102]) by ozlabs.org (Postfix) with ESMTP id 934851400AA for ; Thu, 7 Aug 2014 05:17:29 +1000 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 4A8543FD63 for ; Wed, 6 Aug 2014 21:17:28 +0200 (CEST) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by hugin.dotsrc.org (Postfix) with ESMTPS id 11F533FD8F for ; Wed, 6 Aug 2014 21:17:27 +0200 (CEST) Received: by mail-we0-f181.google.com with SMTP id k48so3026916wev.26 for ; Wed, 06 Aug 2014 12:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yGEHpNjrAWrTvMEC5QHCC7nnf7PbTnSzMJbqmElOZK8=; b=AUed4dfOuGX0zFk4U3yPGlfuF0viHQKuQ3FHLynGB11YU7trkShfcWyltQkRoxvUri ySLma8HsxizG6fxten0xfpqW0z0N1YdIljOzGlQ7ESrI8VwsfPW/VKRA3eeXAmZ6wtbY 0wMU4c6duHubqIFKkJTnubsooqs8sFxzArfNcdSOt4grn1vpVdJOgGhEi1pSSD5acEzY P12aSsZEHfFiUEVFLJfCjj8g17R9EXR/4HKJkSxLLyEmd5mhzVqcKAJHiGbuTN+554Ys LAawZ/FZODF7yJrq6ins67d/l4EXiffoAyuX7XoSniPemXf//7QLHseFB5DIQKUjHhaE ulog== X-Received: by 10.180.10.165 with SMTP id j5mr18584055wib.10.1407352646493; Wed, 06 Aug 2014 12:17:26 -0700 (PDT) Received: from localhost.localdomain (mut38-h01-31-33-249-220.dsl.sta.abo.bbox.fr. [31.33.249.220]) by mx.google.com with ESMTPSA id ej10sm21057792wib.12.2014.08.06.12.17.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Aug 2014 12:17:25 -0700 (PDT) From: Yann Diorcet To: dev@oe-lite.org Subject: [PATCH 18/20] Libtool: Fix CC/CXX flags Date: Wed, 6 Aug 2014 21:16:49 +0200 Message-Id: <1407352611-7652-18-git-send-email-diorcet.yann@gmail.com> X-Mailer: git-send-email 2.0.1 In-Reply-To: <1407352611-7652-1-git-send-email-diorcet.yann@gmail.com> References: <1407352611-7652-1-git-send-email-diorcet.yann@gmail.com> X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org --- recipes/libtool/libtool-common.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/recipes/libtool/libtool-common.inc b/recipes/libtool/libtool-common.inc index dd1b28d..bf15c16 100644 --- a/recipes/libtool/libtool-common.inc +++ b/recipes/libtool/libtool-common.inc @@ -10,7 +10,7 @@ RECIPE_TYPES = "machine native cross sdk-cross" require conf/fetch/gnu.conf SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz" -inherit autotools +inherit autotools c++ C_DEPENDS = "target-cross:cc" @@ -29,14 +29,20 @@ HOST_EXEEXT:cross = "${TARGET_EXEEXT}" HOST_PREFIX:cross = "${TARGET_PREFIX}" HOST_CPPFLAGS:cross = "${TARGET_CPPFLAGS}" HOST_CFLAGS:cross = "${TARGET_CFLAGS}" +HOST_CXXFLAGS:cross = "${TARGET_CXXFLAGS}" HOST_LDFLAGS:cross = "${TARGET_LDFLAGS}" +HOST_CC_PROG:cross = "${TARGET_CC_PROG}" +HOST_CXX_PROG:cross = "${TARGET_CXX_PROG}" HOST_ARCH:sdk-cross = "${TARGET_ARCH}" HOST_FPU:sdk-cross = "${TARGET_FPU}" HOST_EXEEXT:sdk-cross = "${TARGET_EXEEXT}" HOST_PREFIX:sdk-cross = "${TARGET_PREFIX}" HOST_CPPFLAGS:sdk-cross = "${TARGET_CPPFLAGS}" HOST_CFLAGS:sdk-cross = "${TARGET_CFLAGS}" +HOST_CXXFLAGS:sdk-cross = "${TARGET_CXXFLAGS}" HOST_LDFLAGS:sdk-cross = "${TARGET_LDFLAGS}" +HOST_CC_PROG:sdk-cross = "${TARGET_CC_PROG}" +HOST_CXX_PROG:sdk-cross = "${TARGET_CXX_PROG}" do_install[postfuncs] += "do_install_symlinks" do_install_symlinks () {