From patchwork Mon Aug 27 23:00:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 145219 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp487021ljw; Mon, 27 Aug 2018 16:00:56 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZDVeMrAeFvVR+kedWcaIEJ2Ahk9eI2ytAoBQ+9BgWYtjFj58Dum4ZIYq/DZWqrrkZbGx44 X-Received: by 2002:ac8:3145:: with SMTP id h5-v6mr16985927qtb.125.1535410856509; Mon, 27 Aug 2018 16:00:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535410856; cv=none; d=google.com; s=arc-20160816; b=v8C7CkJiroR8Xpdun1YZJv3fdFiqa8PBhAKoOr4/KxmZFmx2ElVckD6UxqGJJeyeC9 CZxHB4Dhyp/a87IDiHfseJB3ZqtRdIT5hIQrhkKB+7Y57k4oCod28o9IOTCPsOYa4u6u indth3XKiBym4+xrJX6coqxd6eWWXN9erkxjY3GActamW0osjlIH+R/6kW5QHZ7chfmk 9eN++kfrnXOZNj7TzGz4isRC+4pvJo+OuVQPJ/h0mvIdNTdJP0KWrcI4SSMefocKGHOa mVk5tjRp/81Dx5wDBj2KHjyRdfSY1FTC9Q3F6HsiwK//L75Q1dat6592RmOD9xO6twPf HN0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=rP0ZWeWgsKdU9cs0L58/4J6kLar15EyKea1mEtICDCE=; b=d6G5NGGjAZEWgEVwUoVdUfCGuwoUOr+gX8nBlHEQQfcwyZy72wXbae+rQwb5t8/sbd z4RvGrNq1AP9+Kr2bVSoFce0pFL40jM+8kn4SapTOc8LRXnQC4aAHfbwi6JITG1OURzd jTw5MR5YID6ON2q8SI5sAyl3RbScBs9T5v2FgCdN04hf6gMwGXBk/EYFN5IHPKFjTRgF ZmTGVJACaEBn8LjOgisGlWv1qMN7S6XUqCeK3fozkcQgj2MnMm25nkOrmSC0d0Yr0Vzq P1olDsYyv4Wwe5VivqXp+LBF+e8otCq56C/HQl8JbBmU6NnFiAjSHtweo0H2xIvC/TN8 PxcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id u16-v6si473768qvm.111.2018.08.27.16.00.56; Mon, 27 Aug 2018 16:00:56 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 368226867A; Mon, 27 Aug 2018 23:00:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id DC76F68662; Mon, 27 Aug 2018 23:00:17 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 3B50768658; Mon, 27 Aug 2018 23:00:14 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id 2CB3B68658 for ; Mon, 27 Aug 2018 23:00:13 +0000 (UTC) Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward105p.mail.yandex.net (Yandex) with ESMTP id D76054085908 for ; Tue, 28 Aug 2018 02:00:11 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id YWTbxTNHwT-0BbOe0Ft; Tue, 28 Aug 2018 02:00:11 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id rCYiipQZbT-0BDm6AUb; Tue, 28 Aug 2018 02:00:11 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Mon, 27 Aug 2018 23:00:02 +0000 Message-Id: <1535410807-29034-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535410807-29034-1-git-send-email-odpbot@yandex.ru> References: <1535410807-29034-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 681 Subject: [lng-odp] [PATCH v5 3/8] m4: odp_dpdk: pass CFLAGS and LDFLAGS to CC when locating libdpdk.so X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 681 (lumag:travis-xenial) ** https://github.com/Linaro/odp/pull/681 ** Patch: https://github.com/Linaro/odp/pull/681.patch ** Base sha: 6ce60cac1fea6d65803740f5f9b6627abf6814b3 ** Merge commit sha: 8c5d835ef3fbc6ab78503945fef582f7c60ac2c9 **/ m4/odp_dpdk.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/odp_dpdk.m4 b/m4/odp_dpdk.m4 index 2ef5253c8..1072bf2dc 100644 --- a/m4/odp_dpdk.m4 +++ b/m4/odp_dpdk.m4 @@ -121,9 +121,9 @@ AC_DEFUN([ODP_DPDK], [dnl AS_IF([test "x$1" = "xsystem"], [dnl DPDK_CPPFLAGS="-isystem /usr/include/dpdk" DPDK_LDFLAGS="" - DPDK_LIB_PATH="`$CC --print-file-name=libdpdk.so`" + DPDK_LIB_PATH="`$CC $CFLAGS $LDFLAGS --print-file-name=libdpdk.so`" if test "$DPDK_LIB_PATH" = "libdpdk.so" ; then - DPDK_LIB_PATH="`$CC --print-file-name=libdpdk.a`" + DPDK_LIB_PATH="`$CC $CFLAGS $LDFLAGS --print-file-name=libdpdk.a`" AS_IF([test "$DPDK_LIB_PATH" = "libdpdk.a"], [AC_MSG_FAILURE([Could not locate system DPDK library directory])]) else