trace-cmd: Pass ldflags to compiler

Fixes
File /usr/lib/traceevent/libtraceevent.so in package trace-cmd doesn't have GNU_HASH (didn't pass LDFLAGS?)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2022-12-26 17:05:40 -08:00
parent c57f3bcdd3
commit 7f15e7975f

View File

@ -16,6 +16,8 @@ DEPENDS += "libtraceevent libtracefs zstd xmlto-native asciidoc-native"
inherit pkgconfig
TARGET_CC_ARCH += "${LDFLAGS}"
do_compile() {
oe_runmake libdir_relative=${BASELIB} all libs
}