[pisa-src] Re: r2298 - in trunk: configure.ac libpisa/arp.c libpisa/debug.h libpisa/global.h libpisa/hitlist.c libpisa/nat.c libpisa/sysdep_fw.c libpisa/sysdep_tun.c pairing/libconfig_wrapper.c pairing/packet_han...

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 17 May 2010 12:11:48 +0200

On Fri, Apr 16, 2010 at 04:45:34PM +0200, Mircea Gherzan wrote:
> 
> Log:
> Make the project build on FreeBSD 8.0 RELEASE.
> 
> --- trunk/configure.ac        Thu Apr 15 17:44:27 2010        (r2297)
> +++ trunk/configure.ac        Fri Apr 16 16:45:34 2010        (r2298)
> @@ -83,15 +83,23 @@
>  # Set default AM_CFLAGS for the complete project.
>  AC_SUBST(AM_CFLAGS, "-std=c99 -Werror -Wall -Wextra -Winline 
> -Wredundant-decls -Wstrict-prototypes -Wdisabled-optimization -Wpointer-arith 
> -Wundef -Wno-deprecated-declarations -Wmissing-prototypes -Wwrite-strings 
> -Wcast-qual -Wshadow")
>  
> +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?

Diego

Other related posts: