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

2016-05-06 Thread Ian Jackson
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 sol

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

2016-05-06 Thread Wei Liu
Hi, I discover an issue with cc-option in Config.mk. # cc-option: Check if compiler supports first option, else fall back to second. # This is complicated by the fact that unrecognised -Wno-* options: # (a) are