Tomas Chvatal TChvatal@suse.com writes:
I noticed that some objects are compiled without cflags.
Was there any concrete problem?
See attached patch that fixes the situation. :)
I'm afraid it can break cross compilation. CFLAGS are for flags appropriate for the cross compiler. While the various programs built using $(CC_FOR_BUILD) are always native binaries. To be concrete, consider cross compiling for arm on a x86 build machine, and $(CFLAGS) choosen to select whether or not to enable generation of arm neon instructions. Passing those flags also to the native compiler won't work.
Regards, /Niels