From 8e467ce2a7d305e30454aa60fac75ed1b026eee3 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 27 Jan 2014 17:00:22 +0100 Subject: [PATCH] rtmpdump: fix CFLAGS/LDFLAGS The rtmpdump makefile looks at XCFLAGS/XLDFLAGS for additional flags, so use those instead of completely overriding the flags. Fixes http://autobuild.buildroot.net/results/190/1902a6613e5fc9656842fbcbd5731ac871d7ef59/ Signed-off-by: Peter Korsgaard --- package/rtmpdump/rtmpdump.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk index 81fb83f123..7ef9ff4578 100644 --- a/package/rtmpdump/rtmpdump.mk +++ b/package/rtmpdump/rtmpdump.mk @@ -33,8 +33,8 @@ endif define RTMPDUMP_BUILD_CMDS $(MAKE) CRYPTO=$(RTMPDUMP_CRYPTO) \ prefix=/usr \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(RTMPDUMP_CFLAGS)" \ + XCFLAGS="$(RTMPDUMP_CFLAGS)" \ + XLDFLAGS="$(TARGET_CFLAGS)" \ CROSS_COMPILE="$(TARGET_CROSS)" \ -C $(@D)/librtmp endef -- 2.30.2