From: Frans Meulenbroeks Date: Sat, 1 Jul 2006 15:10:32 +0000 (+0000) Subject: mdadm: added CFLAGS += "-fno-strict-aliasing" to avoid build errors X-Git-Tag: Release-2010-05/1~9453^2~1385^2~1^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aeea2ca2dfc7ba2d685f059924a1a433e0eb26f;p=openembedded.git mdadm: added CFLAGS += "-fno-strict-aliasing" to avoid build errors a clean solution would be to fix the error in the source, but that is more intrusive --- diff --git a/packages/mdadm/mdadm.inc b/packages/mdadm/mdadm.inc index 25a4a5ed1d..5b293b7a68 100644 --- a/packages/mdadm/mdadm.inc +++ b/packages/mdadm/mdadm.inc @@ -7,6 +7,9 @@ LICENSE = "GPL" SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/${PN}-${PV}.tar.bz2" +CFLAGS += "-fno-strict-aliasing" + + inherit autotools INHIBIT_AUTO_STAGE = "1" diff --git a/packages/mdadm/mdadm_1.12.0.bb b/packages/mdadm/mdadm_1.12.0.bb index f41b36fba9..9fa79120b7 100644 --- a/packages/mdadm/mdadm_1.12.0.bb +++ b/packages/mdadm/mdadm_1.12.0.bb @@ -1,4 +1,4 @@ include mdadm.inc -PR = "r2" +PR = "r3" SRC_URI += " file://build_flags.patch;patch=1 "