Messages in this thread | | | From | Sami Tolvanen <> | Date | Thu, 24 Oct 2019 15:17:08 -0700 | Subject | Re: [PATCH 06/18] add support for Clang's Shadow Call Stack (SCS) |
| |
On Thu, Oct 24, 2019 at 5:04 AM Steven Rostedt <rostedt@goodmis.org> wrote: > You can remove a CFLAGS for a whole directory. lib, kernel/trace and > others do this. Look at kernel/trace/Makefile, we have: > > ORIG_CFLAGS := $(KBUILD_CFLAGS) > KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS))
That definitely looks less invasive in this case than adding ccflags-remove-y, since we only really need this for one directory. I'll use this in v2. Thanks, Steven.
Sami
| |