From: Tom Rini Date: Mon, 4 Oct 2010 14:29:33 +0000 (-0700) Subject: ipsec-tools: Fix build with gcc 4.4+ X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e5fb2f553006474ab18d4e98e83e191d33ddfed;p=openembedded.git ipsec-tools: Fix build with gcc 4.4+ Signed-off-by: Tom Rini --- diff --git a/recipes/ipsec-tools/ipsec-tools.inc b/recipes/ipsec-tools/ipsec-tools.inc index cb7b411626..fffb897556 100644 --- a/recipes/ipsec-tools/ipsec-tools.inc +++ b/recipes/ipsec-tools/ipsec-tools.inc @@ -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.