From patchwork Thu Sep 7 11:59:57 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: 111893 Delivered-To: patch@linaro.org Received: by 10.37.128.210 with SMTP id c18csp86270ybm; Thu, 7 Sep 2017 05:09:42 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCL+2F86eCSfDugYATXstvgA01rR8jTZIu+dKseDDDWa0Yi4BBbJTo6OLgMJaqdrY2HoUr4 X-Received: by 10.55.81.69 with SMTP id f66mr3004498qkb.231.1504786182158; Thu, 07 Sep 2017 05:09:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504786182; cv=none; d=google.com; s=arc-20160816; b=uImYmQTWBoweAQ+tuu8nfCgZ6SW2i480UKNSyYlG0ikVAcZ5nzX7LimxqGb4Zp1OEb V82O2i01v622JdiG0sjl8FwKW8tV/r9gdkl5hcvUhk4ettTJNpyd1Drc3t0ihCFbtk7Q FUf1c1YUgO3aYFXWO+cQ4eEW+MaOt63Sc8QGAbE7TYVXnxA95F2qsPquVW9Ek+o8htX2 krvQVCRqqaqmiw3HyZt/Ru4ADuTzRFHHnN/CPHt+5/htvZ8SFJZOCPhXAuCiEpz0dqF8 +OCan+FW6iEsl/Hkw5ANDDVd0uLbwFHfOhkeqv6f6KjVZg8oCR53/us7l/w1cap1+YAA Vg5Q== 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=z8IofdN7sC42YE5iCXU7LQn+1Vxv+Nw62HoYflOLTp8=; b=ArDqJtJWm5vPWJpOUU++GFe9fQi6b+Lb6ysOqPCd25HndEQL+nQT3eTM6uWPJt7yWO yMeB+SuGkwqjr3eZBEW9mhc28o74xnNWrSNwlUr6Sn8IP1YuoPE0s9wB5ywbW7R5etkR eujV4rFGSBnX6ySiUMQXPNVAvRSA1Epp4hRPdFLJbfejXRbKPYYuojQipm8ubE8QuuiD HC4ea8vte/5FsfImw2ZQkLQo088PaTMbmKkWaSNc0RuopHT16YyjwVb2EVMXbR4PTlnn hUwqT6iSr0H6wbTICGrdJzWat4/GErVvrRwttKFpZar8YCLPo11QVjfdHZos9VMQf4xW LDdg== 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 q185si2774963qke.61.2017.09.07.05.09.41; Thu, 07 Sep 2017 05:09:42 -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 C42DF65BEE; Thu, 7 Sep 2017 12:09:41 +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 28D1F6093A; Thu, 7 Sep 2017 12:06:26 +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 52C0560C29; Thu, 7 Sep 2017 12:06:11 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 5E9C7644E4 for ; Thu, 7 Sep 2017 12:00:28 +0000 (UTC) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward104p.mail.yandex.net (Yandex) with ESMTP id E52FB1836F9 for ; Thu, 7 Sep 2017 15:00:26 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 1OjSZpVDyp-0QnmQMgr; Thu, 07 Sep 2017 15:00:26 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id OSCKROY85q-0PdqaSvf; Thu, 07 Sep 2017 15:00:26 +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: Thu, 7 Sep 2017 14:59:57 +0300 Message-Id: <1504785609-27545-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504785609-27545-1-git-send-email-odpbot@yandex.ru> References: <1504785609-27545-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 165 Subject: [lng-odp] [PATCH v4 2/14] 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: 360c1d34b52a2356619b9290811862b9de41de00 ** Merge commit sha: b3c5b66f989f86f62c8d44471480599b93cac6c0 **/ 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