Re: [PATCH] gcc-plugins: remove always false $(if ...) in Makefile

2020-05-11 Thread Masahiro Yamada
On Sun, May 10, 2020 at 11:14 AM Kees Cook wrote: > > On Sun, May 10, 2020 at 11:00:44AM +0900, Masahiro Yamada wrote: > > This is the remnant of commit c17d6179ad5a ("gcc-plugins: remove unused > > GCC_PLUGIN_SUBDIR"). > > > > $(if $(findstring /,$(p)),...) is always false because none of plugins

Re: [PATCH] gcc-plugins: remove always false $(if ...) in Makefile

2020-05-09 Thread Kees Cook
On Sun, May 10, 2020 at 11:00:44AM +0900, Masahiro Yamada wrote: > This is the remnant of commit c17d6179ad5a ("gcc-plugins: remove unused > GCC_PLUGIN_SUBDIR"). > > $(if $(findstring /,$(p)),...) is always false because none of plugins > contains '/' in the file name. > > Clean up the code. > >

[PATCH] gcc-plugins: remove always false $(if ...) in Makefile

2020-05-09 Thread Masahiro Yamada
This is the remnant of commit c17d6179ad5a ("gcc-plugins: remove unused GCC_PLUGIN_SUBDIR"). $(if $(findstring /,$(p)),...) is always false because none of plugins contains '/' in the file name. Clean up the code. Signed-off-by: Masahiro Yamada --- scripts/gcc-plugins/Makefile | 2 +- 1 file