On Sun, 2016-11-06 at 14:01 +0100, Jens Bauer wrote:
> I've tried ...
> export CFLAGS=-Wno-override-init && ./configure ...
> ... which causes the configure script to say that the C-compiler
> doesn't work, I've also tried ...
> ./configure CFLAGS=-Wno-override-init ...
> ... and ...
> make CFLAGS=-Wno-override-init
> ... but all of them fail. The last one seems to be the 'best
> working', but jimtcl fails (can't find include files).
> 
> What's the recommended approach ?

Maybe try to use some other env variable? CPPFLAGS? The problem with
CFLAGS is that if you set it externally then configure doesn't add its
own flags, which makes the whole build fail... Maybe you could also try
to define CC as "gcc -Wno-override-init"?

Regards,
FCh

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to