From aee67a229304827a12b7776a82fb1c320da9a3c4 Mon Sep 17 00:00:00 2001 From: Takeshi Hamasaki Date: Mon, 1 Apr 2013 20:40:57 +0900 Subject: pcmciautils: fix segmentation fault of pccardctl command This changes definition of PCMCIAUTILS_VERSION to string from a multichacter constant to avoid segmentation fault of pccardctl command. Signed-off-by: Takeshi Hamasaki Signed-off-by: Richard Purdie --- meta/recipes-bsp/pcmciautils/pcmciautils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-bsp') diff --git a/meta/recipes-bsp/pcmciautils/pcmciautils.inc b/meta/recipes-bsp/pcmciautils/pcmciautils.inc index 80271d6a9a..065123682a 100644 --- a/meta/recipes-bsp/pcmciautils/pcmciautils.inc +++ b/meta/recipes-bsp/pcmciautils/pcmciautils.inc @@ -21,7 +21,7 @@ export udevrulesdir = "${nonarch_base_libdir}/udev/rules.d" export UDEV = "1" LD = "${CC}" CFLAGS =+ "-I${S}/src" -CFLAGS =+ "-DPCMCIAUTILS_VERSION=\'${PV}\'" +CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\"" PARALLEL_MAKE = "" EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'" -- cgit 1.2.3-korg