[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/boot: fix build with certain older gcc versions



On Fri, Dec 16, 2016 at 11:33:18AM +0100, Daniel Kiper wrote:
> On Thu, Dec 15, 2016 at 07:04:51AM -0700, Jan Beulich wrote:

[...]

> > --- a/xen/arch/x86/boot/build32.mk
> > +++ b/xen/arch/x86/boot/build32.mk
> > @@ -4,7 +4,7 @@ include $(XEN_ROOT)/Config.mk
> >
> >  $(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
> >
> > -CFLAGS += -Werror -fno-asynchronous-unwind-tables -fno-builtin -msoft-float
> > +CFLAGS += -Werror -fno-asynchronous-unwind-tables -fno-builtin -g0 
> > -msoft-float
>
> CFLAGS = $(subst -g,-g0,$(CFLAGS))?

...or better:

CFLAGS := $(patsubst -g%,-g0,$(CFLAGS))

Daniel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.