diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-05-28 15:47:22 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-05-29 22:04:47 +0900 |
commit | 59f7b5847b0c279d416977d07b7d23aaa7fdc1be (patch) | |
tree | d8fa57c807777a5b1395f9fa26759476de188d8d /Makefile | |
parent | ac5db1fc89bf84d7479761e0de855e6376fdab1e (diff) | |
download | linux-59f7b5847b0c279d416977d07b7d23aaa7fdc1be.tar.gz linux-59f7b5847b0c279d416977d07b7d23aaa7fdc1be.tar.bz2 linux-59f7b5847b0c279d416977d07b7d23aaa7fdc1be.zip |
kbuild: $(CHECK) doesnt need NOSTDINC_FLAGS twice
Currently, $(CHECK) receives NOSTDINC_FLAGS twice:
* first directly in the main Makefile via CHECKFLAGS,
* then indirectly in scripts/Makefile.build via c_flags.
Since once is enough, leave the occurence via c_flags and
remove the one via CHECKFLAGS.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -805,7 +805,6 @@ endif # arch Makefile may override CC so keep this after arch Makefile is included NOSTDINC_FLAGS += -nostdinc -isystem $(call shell-cached,$(CC) -print-file-name=include) -CHECKFLAGS += $(NOSTDINC_FLAGS) # warn about C99 declaration after statement KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,) |