[oe-commits] Tom Rini : ipsec-tools: Fix build with gcc 4.4+

git version control git at git.openembedded.org
Mon Oct 4 14:34:53 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 6e5fb2f553006474ab18d4e98e83e191d33ddfed
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6e5fb2f553006474ab18d4e98e83e191d33ddfed

Author: Tom Rini <tom_rini at mentor.com>
Date:   Mon Oct  4 07:29:33 2010 -0700

ipsec-tools: Fix build with gcc 4.4+

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/ipsec-tools/ipsec-tools.inc |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/ipsec-tools/ipsec-tools.inc b/recipes/ipsec-tools/ipsec-tools.inc
index cb7b411..fffb897 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.





More information about the Openembedded-commits mailing list