From patchwork Mon Sep 11 18:59:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 112214 Delivered-To: patch@linaro.org Received: by 10.80.202.13 with SMTP id d13csp4964639edi; Mon, 11 Sep 2017 12:03:30 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDhN/Qpy/2U8zO8Ow0zc+jciuCkMRB3QCfZh8gvb3kwyOSUMrhdDRR66W4+RJLrncjzLhi/ X-Received: by 10.200.22.148 with SMTP id r20mr3096672qtj.320.1505156609758; Mon, 11 Sep 2017 12:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505156609; cv=none; d=google.com; s=arc-20160816; b=PMu7Af1IjQmRArRucU0cgaMxg56wep3k19raFE6tpVzjwTqNkI5Lffnu/JH4eY1cUK gYR7Umll2nBl/AJDfWYmraJhFl7Tvh7t89ZMkrOtjtpGfsTuPSAwsNOjYsw163yOGcsM NYxU9tC6OooY1qz1qVUbLPaoeCEbjFYLH7Scfzo96JvwhbybEujNzp0hDCGrqXYuL3AJ Fc3J/UD5lwg0b+3/N3IKFZBWsMXSpYyDOr6339ZuM8IGQI72oit5b65tk7NoRU16c3r/ LZrsy+rce8/v4lfVCrnLgnf5JprcnAoyHkzOqcK6hBdRvXq66nEPY9hVIzLK0UH6r4tY x3ig== 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=iiIzR6rc2k4gWLy98p7oTTcvu3h9JWAOpfFlbUxGiVU=; b=hDEHSkdT7Q36MNb4NgNW50vF4p53ccgMUENu2sP4nSrEc+gsXevSW4KMv1OfBcvItG n04GoOw61KDdKoU7cpGWXgDV25HmISA5jXzvO3dIECDcs0o+JgT5BkDeJ7PraWSr1Lb0 lufol9rrqKzra9PFIw5b/D1o0wbgDi00ZQWQYK3YeL900uKEInpT/XtNsnfnTTQnkmyj YAMTSYVupxlhC5pDSnJ/SGZUr7XMshByxo3OCRxFSCX3om+2d3vrD51OxycAICC5UqJ8 zURUWUt/aw2A/r9jjV/RBPAde9F1Bg7iA1dyDA3AxEhkIubS+r1Lp9ofwHRQaUOGO1CA MU4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id k62si3870333qkb.492.2017.09.11.12.03.29; Mon, 11 Sep 2017 12:03:29 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 3182B60E19; Mon, 11 Sep 2017 19:03:29 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,URIBL_BLOCKED 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 F078D61056; Mon, 11 Sep 2017 19:00: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 E089660D9E; Mon, 11 Sep 2017 19:00:28 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id B5DD960D8D for ; Mon, 11 Sep 2017 19:00:24 +0000 (UTC) Received: from mxback10g.mail.yandex.net (mxback10g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:171]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 393911812FA for ; Mon, 11 Sep 2017 22:00:23 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback10g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id wb4gLrotXc-0NaiwhgZ; Mon, 11 Sep 2017 22:00:23 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Xiwxkqm3eV-0MlWmkVK; Mon, 11 Sep 2017 22:00:22 +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, 11 Sep 2017 21:59:52 +0300 Message-Id: <1505156408-13887-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505156408-13887-1-git-send-email-odpbot@yandex.ru> References: <1505156408-13887-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 173 Subject: [lng-odp] [PATCH API-NEXT v1 3/19] configure: use ODP_CHECK_FLAG to check for -mcx16 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 Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov --- /** Email created from pull request 173 (muvarov:api-next) ** https://github.com/Linaro/odp/pull/173 ** Patch: https://github.com/Linaro/odp/pull/173.patch ** Base sha: 7fa8e2c97ed18f8dd6e95cbc78b7e668ccb98869 ** Merge commit sha: 057be0905a62a157cc96a91743ea70e66e8554ca **/ configure.ac | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index df0a0f61..f6f69942 100644 --- a/configure.ac +++ b/configure.ac @@ -339,16 +339,7 @@ ODP_CFLAGS="$ODP_CFLAGS $ODP_CFLAGS_EXTRA" case "${host}" in i?86? | x86*) if test "${CC}" != "gcc" -o ${CC_VERSION_MAJOR} -ge 5; then - my_save_cflags="$CFLAGS" - - CFLAGS=-mcx16 - AC_MSG_CHECKING([whether CC supports -mcx16]) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], - [AC_MSG_RESULT([yes])] - [ODP_CFLAGS="$ODP_CFLAGS $CFLAGS"], - [AC_MSG_RESULT([no])] - ) - CFLAGS="$my_save_cflags" + ODP_CHECK_CFLAG([-mcx16]) fi ;; esac