On 02/05/2013 02:34 PM, raespi wrote:

> Still on this topic ... do the CFLAGS and LDFLAGS parameters are checked 
> only from the ./configure command line or are they also checked by 
> Xenomai as an environment variable ??  I'm currently in discussion with 
> the buildroot maintainer about this topic to fix this problem ...


Xenomai does not do anything special, it uses the autotools default
which is:
- if you pass CFLAGS and LDFLAGS on the right hand of the configure
command line, the generated makefiles are hardcoded with these flags
values, and you need not do anything special later on to get these flags
used for all the compilations. This has been the recommended way of
passing CFLAGS and LDFLAGS when building autotools-based projects for
many years.

- if you want to pass them as environment variables (so, on the left
hand of the configure command line), the makefiles are not generated
with these flags, so, you have to pass them in the environment of the
"make" command.

-- 
                                                                Gilles.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to