Skip to contentSkip to conversation

rtmpdump: use TARGET_LDFLAGS instead of TARGET_CFLAGS for XLDFLAGS

PATCH Superseded Fabio Porcedda 2 participants 2 messages Feb 10, 2015 – Feb 14, 2015

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 rtmpdump: use TARGET_LDFLAGS instead of TARGET_CFLAGS for XLDFLAGS

The XLDFLAGS is for ld related flags so use TARGET_LDFLAGS instead of TARGET_CFLAGS, also the TARGET_CFLAGS is already used for XCFLAGS.

This fix is also needed for supporting the per-package staging directory.

---

Notes:
v2:
- fixed my email address

 package/rtmpdump/rtmpdump.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/rtmpdump/rtmpdump.mk +1 -1
index 14037fb..613f1cd 100644
@@ -39,7 +39,7 @@ define RTMPDUMP_BUILD_CMDS
 	$(MAKE) CRYPTO=$(RTMPDUMP_CRYPTO) \
 		prefix=/usr \
 		XCFLAGS="$(RTMPDUMP_CFLAGS)" \
-		XLDFLAGS="$(TARGET_CFLAGS)" \
+		XLDFLAGS="$(TARGET_LDFLAGS)" \
 		CROSS_COMPILE="$(TARGET_CROSS)" \
 		$(RTMPDUMP_SHARED) \
 		-C $(@D)/librtmp
Signature · 1 line
2.1.0
#1 lore raw

PATCH v2 1/1 rtmpdump: use TARGET_LDFLAGS instead of TARGET_CFLAGS for XLDFLAGS

Dear Fabio Porcedda,

Quoted 6 lines · Fabio Porcedda

The XLDFLAGS is for ld related flags so use TARGET_LDFLAGS instead of TARGET_CFLAGS, also the TARGET_CFLAGS is already used for XCFLAGS.

This fix is also needed for supporting the per-package staging directory.

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com