From 6e5fb2f553006474ab18d4e98e83e191d33ddfed Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 4 Oct 2010 07:29:33 -0700 Subject: [PATCH] ipsec-tools: Fix build with gcc 4.4+ Signed-off-by: Tom Rini --- recipes/ipsec-tools/ipsec-tools.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. -- 2.39.5