mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
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 <raj.khem@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user