Skip to contentSkip to conversation

package/micropython: pass $TARGET_LDFLAGS to build

Buildroot Yann E. MORIN 1 participant 1 message May 7, 2023

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=f89b988d33c9bd65ab33023fafab80b69d767656
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

LDFLAGS need to be passed to the micropython build system via the LDFLAGS_EXTRA variable, which was so far missing. This patch adds it.

---
 package/micropython/micropython.mk | 1 +
 1 file changed, 1 insertion(+)
package/micropython/micropython.mk +1 -0
index 51b45e5e99..5f687c73b9 100644
@@ -36,6 +36,7 @@ MICROPYTHON_MAKE_OPTS += \
 	MICROPY_PY_USSL=0 \
 	CROSS_COMPILE=$(TARGET_CROSS) \
 	CFLAGS_EXTRA=$(MICROPYTHON_CFLAGS) \
+	LDFLAGS_EXTRA="$(TARGET_LDFLAGS)" \
 	CWARN=
 
 define MICROPYTHON_BUILD_CMDS

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot