mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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:
parent
d572afcd08
commit
3b2f72f31a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user