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

Re: [Xen-devel] cc-option in Config.mk and -Og



Wei Liu writes ("cc-option in Config.mk and -Og"):
>  $(call cc-option-add,CFLAGS,CC,-Og)
> 
> However the output of -O option is different from what cc-option
> expects:

I think cc-option is only suitable for use with warning options.
Sorry for leaving this bear trap.

> Any thought on how to solve this?

cc-option should be renamed to cc-warning-option.

There should be a new macro cc-option which is suitable for things
other than -W[no]-..., and can be simpler.

Ian.

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

 


Rackspace

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