ipsec-tools: Fix build with gcc 4.4+
authorTom Rini <tom_rini@mentor.com>
Mon, 4 Oct 2010 14:29:33 +0000 (07:29 -0700)
committerTom Rini <tom_rini@mentor.com>
Mon, 4 Oct 2010 14:29:33 +0000 (07:29 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/ipsec-tools/ipsec-tools.inc

index cb7b411..fffb897 100644 (file)
@@ -7,7 +7,7 @@ DEPENDS = "virtual/kernel openssl readline flex"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/ipsec-tools/ipsec-tools-${PV}.tar.bz2;name=ipsec-tools-${PV}"
 
-INC_PR = "r2"
+INC_PR = "r3"
 
 inherit autotools
 
@@ -43,6 +43,9 @@ EXTRA_OECONF = "--with-kernel-headers=${STAGING_INCDIR} \
                 --without-gssapi \
                 --without-libpam"
 
+# See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530527
+CFLAGS += "-fno-strict-aliasing"
+
 # Sometimes it attempts to use y.tab.c before it is actually
 # generated. Note that the failure case is very rare, but it does
 # happen.