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

Re: [Xen-devel] [XEN PATCH v2 11/12] xen/build: introduce ccflags-y and CFLAGS_$@



On 17.01.2020 11:53, Anthony PERARD wrote:
> We are going to want $(CFLAGS) to be static and never change during
> the build, so introduce new variables that can be use to change the
> flags of a single target or of a whole directory.

I'm again struggling with the "why": What problem is there with e.g.

CFLAGS += -fshort-wchar

in a particular Makefile? This doesn't alter the when-to-expand
aspect of $(CFLAGS) at all.

I have to admit that I'm also a little puzzled by the naming, no
matter that it's taken from Linux. It doesn't really seem to fit
CFLAGS/AFLAGS and c_flags/a_flags.

Jan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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