On Tue, Dec 20, 2016 at 11:46:57AM -0800, Alistair Francis wrote: > Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com> > --- > config/StdGNU.mk | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/config/StdGNU.mk b/config/StdGNU.mk > index 6be8233..a6cdd82 100644 > --- a/config/StdGNU.mk > +++ b/config/StdGNU.mk > @@ -35,6 +35,9 @@ UTIL_LIBS = -lutil > SONAME_LDFLAG = -soname > SHLIB_LDFLAGS = -shared > > +# Allow users to add extra CFLAGS > +CFLAGS += $(EXTRA_CFLAGS) > +
Assuming you mostly want to eliminate tools build flag(s) -- there are already two things for similar tasks: APPEND_CFLAGS and EXTRA_CFLAGS_XEN_TOOLS. Do they not fit for your purpose? > ifeq ($(lto),y) > CFLAGS += -flto > LDFLAGS-$(clang) += -plugin LLVMgold.so > -- > 2.7.4 > _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel