On Mon, Dec 19, 2016 at 09:53:02PM -0600, Doug Goldstein wrote: > On 12/17/16 9:51 AM, Konrad Rzeszutek Wilk wrote: > > On Fri, Dec 16, 2016 at 02:56:01PM -0800, Alistair Francis wrote: > >> Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com> > > > > > > Why? > > *adjusts his distro maintainer hat* It's considered really bad form for > upstreams to push -Werror in their projects. However I know there's > upstream interest to keep it. The compromise would probably be to get my > rear in gear and get a wider range of distros testing with Travis CI / > GitLab CI.
So.. why not do something like this: diff --git a/config/StdGNU.mk b/config/StdGNU.mk index 6be8233..fd2d5b9 100644 --- a/config/StdGNU.mk +++ b/config/StdGNU.mk @@ -39,3 +39,5 @@ ifeq ($(lto),y) CFLAGS += -flto LDFLAGS-$(clang) += -plugin LLVMgold.so endif + +CFLAGS += $(EXTRA_CFLAGS) And have the BuildRoot script do something like: EXTRA_CFLAGS=$(CFLAGS) unset CFLAGS make -C xen ? > > -- > Doug Goldstein > _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel