From patchwork Mon Jul 9 22:56:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10515913 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 86DC8600CA for ; Mon, 9 Jul 2018 22:56:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B0DA28BAE for ; Mon, 9 Jul 2018 22:56:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F96B28BD7; Mon, 9 Jul 2018 22:56:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2FA3828BAE for ; Mon, 9 Jul 2018 22:56:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754508AbeGIW4t (ORCPT ); Mon, 9 Jul 2018 18:56:49 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:52596 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754529AbeGIW4p (ORCPT ); Mon, 9 Jul 2018 18:56:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1531177300; x=1562713300; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=yCVaEHM7yQM/sAy9M/E8D+2yl9ChT3mGEHAovEHPeqg=; b=iuIhAY2vbwgSCJYPA+Bpccnxm8DvGF7ix2NS7z9cbXW9yUD2QHuOv4aa 0q53sdJ5dy6XYsE/YRNWXssUNJb/yzg0vqVKPxyBgKytx17bdcLhwElmK Vxi1sCkTOE53FRlpdPI/HECesaxcw/aKtyC214JSqGTYC7wFy9glLAVki 3CYiNdj8VAQaLDAgRNutw+kCHfOCJrSGryZdMMSpAnE3xIYFozm1W9CwD 04W5H3R0W8M+Zc50NdQZcmojJ8XbyJ8/Yjsr7KTStCV86s82VjbGj2bIQ MgWd+UFg8xoJJ1oSMXiiLdaAJN3kEXVeebLzoPlmORgJgwMqesOm9oomW Q==; X-IronPort-AV: E=Sophos;i="5.51,330,1526313600"; d="scan'208";a="180580410" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 10 Jul 2018 07:01:39 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP; 09 Jul 2018 15:45:48 -0700 Received: from thinkpad-bart.sdcorp.global.sandisk.com ([10.111.67.248]) by uls-op-cesaip02.wdc.com with ESMTP; 09 Jul 2018 15:56:44 -0700 From: Bart Van Assche To: Omar Sandoval Cc: linux-block@vger.kernel.org, Bart Van Assche Subject: [PATCH blktests v3 4/6] src/Makefile: Move -Wall from the C compilation rule to the $(CFLAGS) variable Date: Mon, 9 Jul 2018 15:56:41 -0700 Message-Id: <20180709225643.10537-5-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180709225643.10537-1-bart.vanassche@wdc.com> References: <20180709225643.10537-1-bart.vanassche@wdc.com> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Bart Van Assche --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 7d15d115f6df..efbf393f4c58 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,7 +8,7 @@ C_TARGETS := \ TARGETS := $(C_TARGETS) -CFLAGS := -O2 +CFLAGS := -O2 -Wall all: $(TARGETS) @@ -16,6 +16,6 @@ clean: rm -f $(TARGETS) $(C_TARGETS): %: %.c - $(CC) -Wall -o $@ $(CPPFLAGS) $(CFLAGS) $^ + $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $^ .PHONY: all clean