From patchwork Sun Aug 26 08: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: 145132 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2972107ljw; Sun, 26 Aug 2018 01:07:57 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaJG+6CRHrEkS0x8c5rfgxZz954YNoKxLoMIg74CFrdx9m3Cz4P/Che4flxZcKqbNjqik5w X-Received: by 2002:ac8:488d:: with SMTP id i13-v6mr9271266qtq.235.1535270877074; Sun, 26 Aug 2018 01:07:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535270877; cv=none; d=google.com; s=arc-20160816; b=oDr8OJjKd+tGsUxUTxM4TFhab8N76Ewr0Qq97gS2M7mPiqqnhaRafS27MN7PhxJ+x0 QnscZPuqPHMLgbpdcNvq6Skh8BV3k2IORgy8+sAKozq5y8wMGwZCxrjmdVg7OnQ0iVwF YxOd5CuVYrn8gmnTCYBaehBcpjUect34ax84u9H+wPM9xlaineXeCz7auSU4kKL/JHIl UFDkcib5FrKVdhhZBVJGvXS+jyobXdABTCLmMaaEDgQBWS+ZcseeVMvIz2+UBnc6Tn1x vQNtrTFT7fcr7ac55oMGxcIAFWj+jS3aOFzFGgWnQbC5Qu5c5fih4SDVCbVt8SX4MaL2 +jTA== 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=8ukOffu3HoRjjQg+HSpr1SWaowmGI9NCYvFUSEKBEi4=; b=S5FwjxpYHQ6r8y+bogvArolFwhIkK2x9tIS//OnqiK9vUTjM9faIOx1TSI2A00BDzv 5SBzUMrceJdj5byEBpfYkZ7pINsF9FeYekMhyrfcaZFCOzDHy4+iLS7MNftfEU0jsoSh ePGM74tMJ+Edw6jZuWMpdHgW9R5voaTMlhDYYqrpGzLXYP364ip7VYIny5qeNGBJzbz8 79a/t+5oHiIcmSfJIB3Yj64jHsfXgnjLxQfXMFU3xyd0u4SBGphe+kRVV8SjGUUo5s59 8Ky0Kg16/ABYnZPI2oCZh//pXJ+GPIExD5Xac2SNjzoTsFaowHjd3T1H76w2zKwQPCi/ ubHA== 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 8-v6si1948452qvw.194.2018.08.26.01.07.56; Sun, 26 Aug 2018 01:07:57 -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 C4ADB68620; Sun, 26 Aug 2018 08:07: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 A320D68621; Sun, 26 Aug 2018 08:03:46 +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 3465868607; Sun, 26 Aug 2018 08:03:36 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id 1085C68653 for ; Sun, 26 Aug 2018 08:00:13 +0000 (UTC) Received: from mxback15g.mail.yandex.net (mxback15g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:94]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 635635A04222 for ; Sun, 26 Aug 2018 11:00:11 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback15g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id l4cz1hG7RK-0BOGXnoA; Sun, 26 Aug 2018 11:00:11 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ofNGGFMjLV-0AgSPD6a; Sun, 26 Aug 2018 11:00:10 +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 08:00:05 +0000 Message-Id: <1535270406-26015-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535270406-26015-1-git-send-email-odpbot@yandex.ru> References: <1535270406-26015-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 681 Subject: [lng-odp] [PATCH v1 4/5] 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: d8e7eaf6fa1b281c4ef9759cf7b64bfdd3b64c0b **/ 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