From patchwork Sun Aug 26 12:00:05 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: 145135 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3118783ljw; Sun, 26 Aug 2018 05:01:43 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYv3qIU7ga/6s8ncfKLN1Qa52h/dzBUh7P2tACQuQyBE4xP2iAg9i56LqG5QK/J9aDCzR6z X-Received: by 2002:a37:d6dc:: with SMTP id p89-v6mr9079705qkl.351.1535284903869; Sun, 26 Aug 2018 05:01:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535284903; cv=none; d=google.com; s=arc-20160816; b=FcddR40DJTs3oSM/g+1ShYyWPJ0RcMZq5/54pGyBFidDdlGg0vTSIBHmEAHEom0NUq K1dqOj7VsD5EbSjI84mXmIis+LtAnaq/sVPjG4WkTymF5g8KleYCKl/3SZxYH3jbInVh geDSVstlU7H6lrcShbRu/wudwkfOl4Z6o332ZwCvBn8aMEOM75LF9v/UEqJrfnHycN/3 ro5nzA05qmMcGmR7ayJTm5PmmvvQ2kzR0zbnVMjhAmwtvVqUG1y6OC8o5oVMEyArFdaK ZPL4LQlkjfirfZgu+K32kx4soP6ICMyGo+trUI3oIvQvDH2B5mb/n3Op1MK0O8VZcxnh I0Sg== 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=DiGP6REywysEhxpby2mwQ9dPvqNq1PKDUvIBrvtrO+E=; b=XUrZasw7rO+E4LySRkhfqocXWaJt7HQ++gnHllY5LJ4fXUJblwKNL6KPrt3Toe4isN wc+i+0wwSvpHprVhesKkJH/l7OR/iV3lg6aqeDfRItsIFejITRidDxAwkDhbb0OCY4rF +Xv4fjls00ID7eVXQY62XJVEGBVzL9UyY9grc7EpP1Q5oEZ5Jhb8/DQMNXfrZKcrr5PO AT2NytAJDly1YuFsJSlQpTy3xF2Zl+O9eUBXWlW/3dusKBrIU3XznDd5X/1M9rLzLy0b VU75rVuPDJ+kHy5gd2a22IczgPt8wgFWVxjpD6CUsHSgUWIbRROIfIR+YNkRSreSG9Aj 7K3g== 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 f5-v6si1256647qkc.120.2018.08.26.05.01.43; Sun, 26 Aug 2018 05:01:43 -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 975E068650; Sun, 26 Aug 2018 12:01:43 +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 02CEB68615; Sun, 26 Aug 2018 12:01:13 +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 DED076860E; Sun, 26 Aug 2018 12:01:04 +0000 (UTC) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) by lists.linaro.org (Postfix) with ESMTPS id 44F12607F1 for ; Sun, 26 Aug 2018 12:00:14 +0000 (UTC) Received: from mxback10g.mail.yandex.net (mxback10g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:171]) by forward106j.mail.yandex.net (Yandex) with ESMTP id A16481802C4E for ; Sun, 26 Aug 2018 15:00:12 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback10g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id V13LgJYRKz-0C8GaXti; Sun, 26 Aug 2018 15:00:12 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ApGppAHvKn-0CUORUlu; Sun, 26 Aug 2018 15:00:12 +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: Sun, 26 Aug 2018 12:00:05 +0000 Message-Id: <1535284807-26490-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535284807-26490-1-git-send-email-odpbot@yandex.ru> References: <1535284807-26490-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 681 Subject: [lng-odp] [PATCH v2 4/6] 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: 989df5d2f97ab4711328b11282dcc743f5740e00 ** Merge commit sha: e9bb9d25361eb56f5cb785ca4ff4800a9d64c449 **/ 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