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. (From OE-Core rev: aee67a229304827a12b7776a82fb1c320da9a3c4) Signed-off-by: Takeshi Hamasaki <hmatrjp@users.sourceforge.jp> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
510d8b51df
commit
238244c313
|
@ -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'"
|
||||
|
|
Loading…
Reference in New Issue