Diego Biurrun <diego@xxxxxxxxxx> wrote: > > +if test "$(uname -s)" = "FreeBSD"; then > > + AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -fno-strict-aliasing") > > +fi > > What's the effect of this flag? I notice that HIPL has it as well, > why not add it to the global CFLAGS? Strict aliasing [1] enables further optimizations (think reordering) from the compiler and is enabled by default starting from -O2. So the flag above is not should not be used for global CFALGS. [1] accessing a memory location via different names/pointers -- Dipl.-Ing. Mircea Gherzan