- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
20 lines
731 B
Diff
20 lines
731 B
Diff
Add LDFLAGS variable to Makefile.in, make sure the extra linker flags can be passed.
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
|
|
|
diff --git a/Makefile.in b/Makefile.in
|
|
index cad6706..0ed55c5 100644
|
|
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -50,7 +50,7 @@ ${SAVE}: ${SAVE}.c
|
|
${SHCC} ${CFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c
|
|
|
|
${SHLIB}: ${OBJS} ${COMMON}.o ${PARSER}.o
|
|
- ${SHCC} ${CFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}
|
|
+ ${SHCC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}
|
|
ln -sf ${SHLIB} ${LIB_NAME}.so
|
|
|
|
%.so: %.c
|