From ad5ce1595eca7b2ddd8b4e5a6ee6e67ff5ed80f0 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 18 Jan 2011 08:23:33 -0700 Subject: [PATCH] devmem2: enable strict alignment Signed-off-by: Chris Larson --- recipes/devmem2/devmem2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/devmem2/devmem2.bb b/recipes/devmem2/devmem2.bb index 0baa7f0955..2d1e67b627 100644 --- a/recipes/devmem2/devmem2.bb +++ b/recipes/devmem2/devmem2.bb @@ -1,11 +1,13 @@ DESCRIPTION = "Simple program to read/write from/to any location in memory." LICENSE = "GPLv2" -PR = "r6" +PR = "r7" SRC_URI = "http://www.lartmaker.nl/lartware/port/devmem2.c \ file://devmem2-fixups-2.patch;apply=yes;striplevel=0" S = "${WORKDIR}" +CFLAGS += "-DFORCE_STRICT_ALIGNMENT" + do_compile() { ${CC} -o devmem2 devmem2.c ${CFLAGS} ${LDFLAGS} } -- 2.39.5