rtmpdump: fix CFLAGS/LDFLAGS
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 27 Jan 2014 16:00:22 +0000 (17:00 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 27 Jan 2014 16:00:22 +0000 (17:00 +0100)
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 <peter@korsgaard.com>
package/rtmpdump/rtmpdump.mk

index 81fb83f123491e30e49ad3d621f75361134613d3..7ef9ff4578fc04bbe6328ef9bca2969505636ed2 100644 (file)
@@ -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