From patchwork Tue Aug 22 10:00:06 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: 110648 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5107917obb; Tue, 22 Aug 2017 03:23:29 -0700 (PDT) X-Received: by 10.55.94.2 with SMTP id s2mr179309qkb.253.1503397408849; Tue, 22 Aug 2017 03:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503397408; cv=none; d=google.com; s=arc-20160816; b=H/7yb9qAYjefqvMDlLZXM8Yvs9yKkgQhmHWMVpzqfjxb52g66B8algmFqshgJZBlCx +gWsNsPlUtbGRtmH02vdssJ2v0nwVHxDLTsnH5wbHISDzGY/UJiwA7I8KKmvI/UqaFlB 578xv1MJOVAMLGu77p4r5zSXjX4dEXbTvO8VP4r5y3QWasbDJ7ZuhIO+Gq2Wm+6WWOmB HumTR4zKS+K2aEjkf2k4O1jMZTRl6mE2In1U74cICyJuKhGVkL8mdyxilS9Ek/EIYl3z mHtMQziDPhdRf4mGepSVQD9MCHFJl9ltS3jA11e6+Q6RMn+MKEpcjsl6bnrco/fBJXEU sg4w== 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=MoZ7Bex8BXajFHSWCF49OuktayRRrZYMbuJV0zwf52o=; b=AvkLFrCyqvGQArDfSyFxAbxehJOnbe9TQvnFa83v66l9NfhYwO6AvyKNg3jhYmTcpq zYkkaOQe1hQAme0vl+e0QOkxC73qxmQgqbLCyLbJ4GsZRJ3poXagU3A4/eD9B17UHk3b aawZVBiKqmvYOyVxd/3pBoj+Ku/NryP43JL33h86m5fh56cTtPaHy2BuLFma2ecFzFnP A3MGqkwIZeNuXOBYY7JEoNLmmoNV9vhnhH1BA90WJZe41/S1vfhlPattngNJfyWYqgE0 /Cn+Rn/tXoOcupdZI4zBMZ4WduaP8h3rh0u3QBjLxUYipqoK85RblPEj7iYsXRacmLb+ nJ4g== 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 v21si13437034qta.394.2017.08.22.03.23.28; Tue, 22 Aug 2017 03:23:28 -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 7008B644C3; Tue, 22 Aug 2017 10:23:28 +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, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 DA9C965BDD; Tue, 22 Aug 2017 10:03:16 +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 2D9DD64474; Tue, 22 Aug 2017 10:02:52 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id 5D51F64474 for ; Tue, 22 Aug 2017 10:00:32 +0000 (UTC) Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward100o.mail.yandex.net (Yandex) with ESMTP id EE8932A2166F for ; Tue, 22 Aug 2017 13:00:30 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback9o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id NzfAODOMEy-0UMajX4X; Tue, 22 Aug 2017 13:00:30 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0Uf45Rgk; Tue, 22 Aug 2017 13:00:30 +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, 22 Aug 2017 13:00:06 +0300 Message-Id: <1503396009-8350-23-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 22/25] configure: finally stop pre-setting AM_CFLAGS/AM_CXXFLAGS 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 Instead of setting AM_CFLAGS/AM_CXXFLAGS update CFLAGS/CXXFLAGS variables. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 5e5e8639..91710769 100644 --- a/configure.ac +++ b/configure.ac @@ -335,6 +335,7 @@ ODP_CHECK_CFLAG([-Wformat-truncation=0]) ODP_CHECK_CFLAG([-Wformat-overflow=0]) ODP_CFLAGS="$ODP_CFLAGS -std=c99" +ODP_CXXFLAGS="$ODP_CXXFLAGS -std=c++11" # Extra flags for example to suppress certain warning types ODP_CFLAGS="$ODP_CFLAGS $ODP_CFLAGS_EXTRA" @@ -362,8 +363,8 @@ esac ########################################################################## # Default include setup ########################################################################## -AM_CFLAGS="$AM_CFLAGS $ODP_CFLAGS" -AM_CXXFLAGS="-std=c++11" +CFLAGS="$CFLAGS $ODP_CFLAGS" +CXXFLAGS="$CXXFLAGS $ODP_CXXFLAGS" AC_CONFIG_FILES([Makefile pkgconfig/libodp-linux.pc