aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-10-04 07:29:33 -0700
committerTom Rini <tom_rini@mentor.com>2010-10-04 07:29:33 -0700
commit6e5fb2f553006474ab18d4e98e83e191d33ddfed (patch)
tree3c99a6c079355e4f0c78f5bae0e09a0ee28f3a9d
parentfa008da10d89ea932fb0317de8814efbea737641 (diff)
downloadopenembedded-6e5fb2f553006474ab18d4e98e83e191d33ddfed.zip
openembedded-6e5fb2f553006474ab18d4e98e83e191d33ddfed.tar.gz
openembedded-6e5fb2f553006474ab18d4e98e83e191d33ddfed.tar.bz2
ipsec-tools: Fix build with gcc 4.4+
Signed-off-by: Tom Rini <tom_rini@mentor.com>
-rw-r--r--recipes/ipsec-tools/ipsec-tools.inc5
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.