Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1546750
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH] tools build: replace $(CC) -E with $(CPP) for pre-processing |
| Date | Fri, 23 Dec 2016 05:50:01 +0100 |
| Message-ID | <sRpXP-2a2-1@gated-at.bofh.it> (permalink) |
| X-Original-To | Arnaldo Carvalho de Melo <acme@redhat.com> |
| Dkim-Filter | OpenDKIM Filter v2.10.3 conuserg-12.nifty.com uBN4kpQh011545 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1482468415; bh=7Yt2klzWpQZdxf7PiX4rGQN5MnJ8eN4pBUhiAqvMcEo=; h=From:To:Cc:Subject:Date:From; b=dv8CuDmdUmhpIdKFLjcGCeUGQg+INu+G+GiFE6Oz4yk6OuXVAQwIz6GL2j1lSYtwu +6rEWPeIwuWZ6xbB5BTqS1TCWu4tk9b0945zhdpvG1Dk2Z6SwMj2MFVIbH/RnnYNvv RZp6Nqtrzlr76c4iW9r5mL6S2KnFiRKyB/6zC2bBO+oGfTvJHzcsZBqXIcbCfSvRaM 4U8JUUU5/5SUBvXd40n4FXI2umY3zDf0rLDCCpcSZqiGwAFAvbBxpOnUCscB+2tz0X db1BHa6wwIeyHYoxNLJxFCcYkUBwZWRJdv55eqL3lRsS/x4w1Eo7x4LBezu5jwepB1 LTmaxnbWYl95Q== |
| X-Nifty-Srcip | [111.169.71.157] |
| X-Mailer | git-send-email 2.7.4 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 28 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Jiri Olsa <jolsa@kernel.org>, Masahiro Yamada <yamada.masahiro@socionext.com>, Wang Nan <wangnan0@huawei.com>, linux-kernel@vger.kernel.org, Michal Marek <mmarek@suse.com>, Jiri Olsa <jolsa@redhat.com> |
| X-Original-Date | Fri, 23 Dec 2016 13:46:42 +0900 |
| X-Original-Message-ID | <1482468402-7782-1-git-send-email-yamada.masahiro@socionext.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1546750 |
Show key headers only | View raw
The top-level Makefile defines:
CPP = $(CC) -E
So, $(CC) -E can be replaced with $(CPP) and this makes more sense
for pre-processing.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
tools/build/Makefile.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/build/Makefile.build b/tools/build/Makefile.build
index 99c0ccd..4a0ec5c 100644
--- a/tools/build/Makefile.build
+++ b/tools/build/Makefile.build
@@ -65,7 +65,7 @@ quiet_cmd_cxx_o_c = CXX $@
cmd_cxx_o_c = $(CXX) $(cxx_flags) -c -o $@ $<
quiet_cmd_cpp_i_c = CPP $@
- cmd_cpp_i_c = $(CC) $(c_flags) -E -o $@ $<
+ cmd_cpp_i_c = $(CPP) $(c_flags) -o $@ $<
quiet_cmd_cc_s_c = AS $@
cmd_cc_s_c = $(CC) $(c_flags) -S -o $@ $<
--
2.7.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] tools build: replace $(CC) -E with $(CPP) for pre-processing Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-12-23 05:50 +0100
Re: [PATCH] tools build: replace $(CC) -E with $(CPP) for pre-processing Jiri Olsa <jolsa@redhat.com> - 2016-12-23 12:10 +0100
Re: [PATCH] tools build: replace $(CC) -E with $(CPP) for pre-processing Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-12-24 07:30 +0100
csiph-web