From patchwork Fri Dec 12 12:31:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 42181 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5C62D26C77 for ; Fri, 12 Dec 2014 12:32:19 +0000 (UTC) Received: by mail-la0-f72.google.com with SMTP id gq15sf4867586lab.11 for ; Fri, 12 Dec 2014 04:32:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=26e0GfhQIXF1Vh2k4443PpDsAcThaNIbqiSXiEvOKEY=; b=hd4fhqQePd3DkZAn0Wr9QncmJMyHrpR1dJy+vL8InkYcFQRfva1iOanCW6bwRjAfdn FYz534KrghESi4gdw+iZnfUshYJhtnSIjLeQBmcWHiy/rjI3j1+SDt4vY+tAzu2xhnk9 1mMZdbA3J8AmnNOXP9c9q19HbVu6YMyYvYllgxIIpciMgPFaYnrxwnjC/wtE3/p+E2W5 enjk3Kh1YSzq6L0YRfzpy4r0Bv3FhvUyC6SX/nC6z6xJMH49nSb99jxN+m/wxJPATSNU WamyvAItlhAi73IwPv7Ek7De0BFSgU8OlNjFVyP3AwI78b5Cd1Lsm6oC34bjl7mVEfIT M7IA== X-Gm-Message-State: ALoCoQk4dyJGHlPLCWhIbta9svoBHf3yT40P4BeLAlO0z2YhIU10GgWwgjKAL2ZyDx5+tghHX+pt X-Received: by 10.180.85.72 with SMTP id f8mr680825wiz.0.1418387537985; Fri, 12 Dec 2014 04:32:17 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.98 with SMTP id d2ls431506lae.19.gmail; Fri, 12 Dec 2014 04:32:17 -0800 (PST) X-Received: by 10.152.45.41 with SMTP id j9mr15433270lam.59.1418387537455; Fri, 12 Dec 2014 04:32:17 -0800 (PST) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id qd1si1260450lbb.59.2014.12.12.04.32.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Dec 2014 04:32:17 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id l4so5719914lbv.39 for ; Fri, 12 Dec 2014 04:32:17 -0800 (PST) X-Received: by 10.152.45.41 with SMTP id j9mr15433260lam.59.1418387537360; Fri, 12 Dec 2014 04:32:17 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.142.69 with SMTP id ru5csp836916lbb; Fri, 12 Dec 2014 04:32:16 -0800 (PST) X-Received: by 10.224.64.197 with SMTP id f5mr30674190qai.49.1418387535885; Fri, 12 Dec 2014 04:32:15 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id k10si1258647qge.43.2014.12.12.04.32.15 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 12 Dec 2014 04:32:15 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XzPOH-0007ob-3n; Fri, 12 Dec 2014 12:32:13 +0000 Received: from mail-la0-f50.google.com ([209.85.215.50]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XzPOA-0007oS-G6 for lng-odp@lists.linaro.org; Fri, 12 Dec 2014 12:32:06 +0000 Received: by mail-la0-f50.google.com with SMTP id pn19so5993677lab.37 for ; Fri, 12 Dec 2014 04:32:00 -0800 (PST) X-Received: by 10.112.129.228 with SMTP id nz4mr15197484lbb.8.1418387520834; Fri, 12 Dec 2014 04:32:00 -0800 (PST) Received: from localhost.localdomain (ppp91-76-163-205.pppoe.mtu-net.ru. [91.76.163.205]) by mx.google.com with ESMTPSA id pm3sm365223lbb.15.2014.12.12.04.31.58 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Dec 2014 04:31:59 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Fri, 12 Dec 2014 15:31:52 +0300 Message-Id: <1418387512-914-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 X-Topics: patch Subject: [lng-odp] [PATCH] turn on -std=c99 X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxim.uvarov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Define _POSIX_C_SOURCE and _BSD_SOURCE to make gcc accept system calls and turn on -std=c99. Signed-off-by: Maxim Uvarov --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 2f27261..d9167a5 100644 --- a/configure.ac +++ b/configure.ac @@ -179,6 +179,8 @@ ODP_CFLAGS="$ODP_CFLAGS -Wmissing-declarations -Wold-style-definition -Wpointer- ODP_CFLAGS="$ODP_CFLAGS -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral" ODP_CFLAGS="$ODP_CFLAGS -Wformat-security -Wundef -Wwrite-strings" +ODP_CFLAGS="$ODP_CFLAGS -std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L" + ########################################################################## # Default include setup ##########################################################################