From patchwork Thu Jun 16 20:29:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 1987 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 3E9B023F3F for ; Thu, 16 Jun 2011 20:31:44 +0000 (UTC) Received: from mail-vx0-f180.google.com (mail-vx0-f180.google.com [209.85.220.180]) by fiordland.canonical.com (Postfix) with ESMTP id 0DEDCA18585 for ; Thu, 16 Jun 2011 20:31:43 +0000 (UTC) Received: by vxk12 with SMTP id 12so2092646vxk.11 for ; Thu, 16 Jun 2011 13:31:43 -0700 (PDT) Received: by 10.52.95.194 with SMTP id dm2mr352914vdb.47.1308256303458; Thu, 16 Jun 2011 13:31:43 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.52.183.130 with SMTP id em2cs211200vdc; Thu, 16 Jun 2011 13:31:43 -0700 (PDT) Received: by 10.216.202.147 with SMTP id d19mr1357577weo.23.1308256300407; Thu, 16 Jun 2011 13:31:40 -0700 (PDT) Received: from smtp.smtpout.orange.fr (smtp08.smtpout.orange.fr [80.12.242.130]) by mx.google.com with ESMTP id o20si5080001weq.26.2011.06.16.13.31.39; Thu, 16 Jun 2011 13:31:40 -0700 (PDT) Received-SPF: neutral (google.com: 80.12.242.130 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=80.12.242.130; Authentication-Results: mx.google.com; spf=neutral (google.com: 80.12.242.130 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: from monster.dhcp.lxc ([92.134.76.78]) by mwinf5d16 with ME id wkXf1g0031hMfSL03kXfJF; Thu, 16 Jun 2011 22:31:39 +0200 From: Daniel Lezcano To: patches@linaro.org Subject: [PATCH 01/28] Remove pointless compiler flags Date: Thu, 16 Jun 2011 22:29:30 +0200 Message-Id: <1308256197-29155-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.1 -Wall already set most the warning flags Signed-off-by: Daniel Lezcano --- Makefile | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0ac486d..295b7cb 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,7 @@ BINDIR=/usr/sbin MANDIR=/usr/share/man/man8 -WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int -CFLAGS?=-O1 -g ${WARNFLAGS} +CFLAGS?=-O1 -g -Wall -Wshadow CC?=gcc OBJS = powerdebug.o sensor.o clocks.o regulator.o display.o @@ -23,4 +22,4 @@ install: powerdebug powerdebug.8.gz all: powerdebug powerdebug.8.gz clean: - rm -f powerdebug *.o powerdebug.8.gz + rm -f powerdebug ${OBJS} powerdebug.8.gz