forked from ariadne/libucontext
pass LDFLAGS to link step
This helps to use OE specific linker flags and fixes do_package_qa: QA Issue: No GNU_HASH in the ELF binary Upstream-Status: Pending Signed-off-by: Khem Raj <raj.khem@gmail.com>arm_linker_fix
parent
0b4f9ecf33
commit
6cfab025e0
2
Makefile
2
Makefile
|
@ -20,7 +20,7 @@ ${LIBUCONTEXT_STATIC_NAME}: ${LIBUCONTEXT_OBJ}
|
|||
|
||||
${LIBUCONTEXT_NAME}: ${LIBUCONTEXT_OBJ}
|
||||
$(CC) -o ${LIBUCONTEXT_NAME} -Wl,-soname,${LIBUCONTEXT_SONAME} \
|
||||
-shared ${LIBUCONTEXT_OBJ}
|
||||
-shared ${LIBUCONTEXT_OBJ} ${LDFLAGS}
|
||||
|
||||
${LIBUCONTEXT_SONAME}: ${LIBUCONTEXT_NAME}
|
||||
ln -sf ${LIBUCONTEXT_NAME} ${LIBUCONTEXT_SONAME}
|
||||
|
|
Loading…
Reference in New Issue