From patchwork Sun Aug 26 13: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: 145146 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3165140ljw; Sun, 26 Aug 2018 06:03:12 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYKFe2RHsmpxiSL1CVP09IBgxJE5dJ4IQ/JS1AjHoxgPosE7AWe2+fq9QDykjMtLrO3kPbu X-Received: by 2002:a37:8d87:: with SMTP id p129-v6mr9509114qkd.4.1535288592582; Sun, 26 Aug 2018 06:03:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535288592; cv=none; d=google.com; s=arc-20160816; b=NOCcXZ99BFR4B3O7SA5NbvYt7eTCBqdAesSrKhRVZwzlX2PhcB1NAC2uGzeEfFeX9H OAhBmaYqlVDJkMwww6H/+xb0UsBysCgK7dwUDgdpdgT2+Z1iRSuBDmLtfmUQw/AVqTfP HejLgwrUOC3AXFu8qLjEZ/qZerijzF8swlAFXfw0zb9F/ZaGxcJ6U2fopTj8/aR8i0qw ta8Y3M65/FWBlaDhbqfbCjKOsplqPzlTarCedINaq+7EHGSiJIrnm/g8JFuNY3AsrPsI HrUgmARBndWxQDpBZ04ujBErTc6GnnWFwgEwWzlQaMRCV0M/s0FZdNi/xt3t5xEenLPQ KMgQ== 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=sEQ1Up5t1GGsmN1AvwkModNacDqqhp7SAHw/EDX+Ml4=; b=qFn7+PcK3C1wbkdHa0a7TueIc/NI0CLGFFhiPfTfD3epvxrCKcv8avCUovfnf8DMzv NGprcxq1xq/A99qDOLUhck4ryzqZnYs6DVlFuhOjEnsrunP/80Debv6faLA1KFjigpuL dzO41sL22aUk86T9XRn08dybEe+aXFWWZLEgChG0LrQZhixHYfbmvrge+ppRu1w3CC26 WqpqzZzq1bNX1vydn4UpOAW3EaD+dY8a+XSFXRtK3wbEUIU/9qgm/dpDx/YrElouWxoW V8ghTARaQBr142KUMYcIFccjIDwsm3KNA9JkynczJFDPVUDpDX0ZFJwohSJfvqOM0+0X ZK3w== 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 n40-v6si229154qvg.27.2018.08.26.06.03.12; Sun, 26 Aug 2018 06:03:12 -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 50CDF68600; Sun, 26 Aug 2018 13:03:12 +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, RCVD_IN_MSPIKE_H2 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 3476168607; Sun, 26 Aug 2018 13:00:48 +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 F19D7618F6; Sun, 26 Aug 2018 13:00:19 +0000 (UTC) Received: from forward103o.mail.yandex.net (forward103o.mail.yandex.net [37.140.190.177]) by lists.linaro.org (Postfix) with ESMTPS id B711060F0B for ; Sun, 26 Aug 2018 13:00:13 +0000 (UTC) Received: from mxback1o.mail.yandex.net (mxback1o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1b]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 45B8658865FF for ; Sun, 26 Aug 2018 16:00:12 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback1o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id CFbcRWoVwb-0C8q6E53; Sun, 26 Aug 2018 16:00:12 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id wjlkiOI44z-0BgqTwuG; Sun, 26 Aug 2018 16: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: Sun, 26 Aug 2018 13:00:05 +0000 Message-Id: <1535288407-26837-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535288407-26837-1-git-send-email-odpbot@yandex.ru> References: <1535288407-26837-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 681 Subject: [lng-odp] [PATCH v3 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: 1bf5f265227e822d9820026c932d9c4fc22f2156 **/ 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