From: Chris Larson Date: Tue, 18 Jan 2011 15:23:33 +0000 (-0700) Subject: devmem2: enable strict alignment X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad5ce1595eca7b2ddd8b4e5a6ee6e67ff5ed80f0;p=openembedded.git devmem2: enable strict alignment Signed-off-by: Chris Larson --- 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} }