From patchwork Tue Sep 5 19:59:56 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: 111725 Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp3301018qge; Tue, 5 Sep 2017 13:04:22 -0700 (PDT) X-Google-Smtp-Source: AOwi7QD8dBUsqqZxkXPrO0JKceP615txNSconxba4PSjiw8WTwTtYC6zAEfJ+iDXaDuj5+jf2XnN X-Received: by 10.55.163.195 with SMTP id m186mr367263qke.304.1504641862390; Tue, 05 Sep 2017 13:04:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504641862; cv=none; d=google.com; s=arc-20160816; b=A5+f/wVYEhC00/Md7BI+/D0X0pP1OiMFzahGqvb6dILARtlgVkyCBMyz4OsHMLhYTj TYMMI9UtumlAF7XPnYRT5gbNtbdsGPjXsWZpCP6yWvsL9vrYE7WXFnop+p80XmFQkM/b 1Er5temA6t6/aZGPRHItLf5k2iTSoMW1oksNRdSVugUKZHBFTlS2kOKS4IsUs78w8sYp dhlTVnbE+NgUJNHtmhEJDrDt7T0KVb/fs20DQKWGJ+X14NPew5lUjEDptny37zdYlw+e O7AKfkKTWdpkX1W3+TRISA7ZEO7P9Mtrny9J8YHWHEwdhcJld3hRrEBIomSbDtgGDxaz LrSA== 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=ffwSoyFOV5MrNaPMa0zJZlZ1RStGmxh/VZV3gvrbKQI=; b=meOxdfOu7TqMnHce6C9eOuJFlUVC3BQ6oO+tuLWCnGh/qIMvBXwSxa6ZNh0b4V5qWG 13nWwtKScO6EWfH/rdfd2m/vjZqtXKQ9TS0NZHjh8SS/7DnkDtCRwbwaetLchJhXghcv kg7eQ86KbWLyzR0+ZYHwaCn/dnENiZAWxLqjpMRwhUgNeJDZCZaHsbfw59/9k4SD0NJZ XPUuzEtqm0Iz7wZ6hTnDx3u3/snMNdlW1Rp5QuquOjsABG2V2hRVBfGKoD58R9FriQWu 3F7HzyHyz+HwTzj646biwW2sV4CWwJrRIGs69llRrwnmHQbXdmxJrRkVSjHUDnKbRtsq vflw== 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 h200si1162556qke.36.2017.09.05.13.04.22; Tue, 05 Sep 2017 13:04:22 -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 1357A60D89; Tue, 5 Sep 2017 20:04:22 +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 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 7C6CB61E03; Tue, 5 Sep 2017 20:00:52 +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 DEAEB60CE2; Tue, 5 Sep 2017 20:00:24 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 3D6C360D3A for ; Tue, 5 Sep 2017 20:00:18 +0000 (UTC) Received: from mxback20j.mail.yandex.net (mxback20j.mail.yandex.net [IPv6:2a02:6b8:0:1619::114]) by forward104p.mail.yandex.net (Yandex) with ESMTP id DD31818480B for ; Tue, 5 Sep 2017 23:00:16 +0300 (MSK) Received: from smtp2j.mail.yandex.net (smtp2j.mail.yandex.net [2a02:6b8:0:801::ac]) by mxback20j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id cVwGfDSrYo-0G0etife; Tue, 05 Sep 2017 23:00:16 +0300 Received: by smtp2j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id anlnl3rubP-0Fi8flxG; Tue, 05 Sep 2017 23:00:15 +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: Tue, 5 Sep 2017 22:59:56 +0300 Message-Id: <1504641607-4966-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504641607-4966-1-git-send-email-odpbot@yandex.ru> References: <1504641607-4966-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 165 Subject: [lng-odp] [PATCH v3 2/13] 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 --- /** Email created from pull request 165 (lumag:improve-build-3) ** https://github.com/Linaro/odp/pull/165 ** Patch: https://github.com/Linaro/odp/pull/165.patch ** Base sha: 42184679185ce0c979e065349360167e3fce6ca0 ** Merge commit sha: 38d800e8e4b3c89a118426f28490b2e87091e127 **/ 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