mdadm: added CFLAGS += "-fno-strict-aliasing" to avoid build errors
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>
Sat, 1 Jul 2006 15:10:32 +0000 (15:10 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 1 Jul 2006 15:10:32 +0000 (15:10 +0000)
a clean solution would be to fix the error in the source, but
that is more intrusive

packages/mdadm/mdadm.inc
packages/mdadm/mdadm_1.12.0.bb

index 25a4a5e..5b293b7 100644 (file)
@@ -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"
index f41b36f..9fa7912 100644 (file)
@@ -1,4 +1,4 @@
 include mdadm.inc
-PR = "r2"
+PR = "r3"
 
 SRC_URI += " file://build_flags.patch;patch=1 "