Re: [PATCHv2 2/3] tools: build: fix libiberty feature detection

2015-10-29 Thread Jiri Olsa
On Thu, Oct 29, 2015 at 08:49:37AM +0100, Rabin Vincent wrote: > Any CFLAGS or LDFLAGS set by the user need to be passed to the feature build > command. This many include for example -I or -L to point to libraries and > include files in custom paths. > > In most of the test-*.bin rules in build/f

[PATCHv2 2/3] tools: build: fix libiberty feature detection

2015-10-29 Thread Rabin Vincent
Any CFLAGS or LDFLAGS set by the user need to be passed to the feature build command. This many include for example -I or -L to point to libraries and include files in custom paths. In most of the test-*.bin rules in build/feature/Makefile, we use the BUILD macro which always sends in CFLAGS and