From: Bart Van Assche <bart.vanassche@wdc.com>
To: Omar Sandoval <osandov@fb.com>
Cc: linux-block@vger.kernel.org, Bart Van Assche <bart.vanassche@wdc.com>
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 [thread overview]
Message-ID: <20180709225643.10537-5-bart.vanassche@wdc.com> (raw)
In-Reply-To: <20180709225643.10537-1-bart.vanassche@wdc.com>
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
---
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
--
2.18.0
next prev parent reply other threads:[~2018-07-09 22:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-09 22:56 [PATCH blktests v3 0/6] Add SRP initiator driver tests Bart Van Assche
2018-07-09 22:56 ` [PATCH blktests v3 1/6] dir-locals.el: Add c-mode settings Bart Van Assche
2018-07-11 7:32 ` Johannes Thumshirn
2018-07-09 22:56 ` [PATCH blktests v3 2/6] check: Make $FULL an absolute path Bart Van Assche
2018-07-09 22:56 ` [PATCH blktests v3 3/6] src/Makefile: Introduce the C_TARGETS variable Bart Van Assche
2018-07-09 22:56 ` Bart Van Assche [this message]
2018-07-09 22:56 ` [PATCH blktests v3 5/6] Add the discontiguous-io test program Bart Van Assche
2018-07-09 22:56 ` [PATCH blktests v3 6/6] Add tests for the SRP initiator and target drivers Bart Van Assche
2018-07-10 19:57 ` [PATCH blktests v3 0/6] Add SRP initiator driver tests Omar Sandoval
2018-07-10 20:40 ` Bart Van Assche
2018-07-10 21:46 ` Bart Van Assche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180709225643.10537-5-bart.vanassche@wdc.com \
--to=bart.vanassche@wdc.com \
--cc=linux-block@vger.kernel.org \
--cc=osandov@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox