summaryrefslogtreecommitdiff
path: root/packages/mdadm
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>2006-07-01 15:10:32 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-01 15:10:32 +0000
commit3aeea2ca2dfc7ba2d685f059924a1a433e0eb26f (patch)
tree043923000951796a00e1dab04186cc48067970a8 /packages/mdadm
parent4fa4a26d96c99d6a3db1636dbd8b21c910eb7e8e (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
Diffstat (limited to 'packages/mdadm')
-rw-r--r--packages/mdadm/mdadm.inc3
-rw-r--r--packages/mdadm/mdadm_1.12.0.bb2
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 "