diff options
author | Frans Meulenbroeks <fransmeulenbroeks@yahoo.com> | 2006-07-01 15:10:32 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-07-01 15:10:32 +0000 |
commit | 3aeea2ca2dfc7ba2d685f059924a1a433e0eb26f (patch) | |
tree | 043923000951796a00e1dab04186cc48067970a8 | |
parent | 4fa4a26d96c99d6a3db1636dbd8b21c910eb7e8e (diff) |
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
-rw-r--r-- | packages/mdadm/mdadm.inc | 3 | ||||
-rw-r--r-- | packages/mdadm/mdadm_1.12.0.bb | 2 |
2 files changed, 4 insertions, 1 deletions
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 " |