pcmciautils: Pass LD=CC via Make cmdline
PATCH 1/1 pcmciautils: Pass LD=CC via Make cmdline
This ensures that LD is always consistent in Makefile and it is computed independent of LD variable setting order in metadata e.g. when using meta-clang with lld the LD var maybe set to ld.ldd and this will be wrong here
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb +1 -2
@@ -28,11 +28,10 @@ export pcmciaconfdir = "${sysconfdir}/pcmcia" export udevdir = "`pkg-config --variable=udevdir udev`" export udevrulesdir = "`pkg-config --variable=udevdir udev`/rules.d" export UDEV = "1" -LD = "${CC}" CFLAGS =+ "-I${S}/src" CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\"" -EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'" +EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex' 'LD=${CC}'" do_install () { oe_runmake 'DESTDIR=${D}' install
Signature · 1 line
2.41.0