From: Peter Korsgaard Date: Mon, 27 Jan 2014 16:00:22 +0000 (+0100) Subject: rtmpdump: fix CFLAGS/LDFLAGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e467ce2a7d305e30454aa60fac75ed1b026eee3;p=buildroot.git 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 --- 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