From 08cd1208e5e8cef7d65cbb26f6145a3fa149636f Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Thu, 30 Jan 2014 23:14:58 +0100 Subject: [PATCH] infozip: fix $(AS) behavior MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit infozip's Makefile expect $(AS) to output by default to .o but when called from Buildroot, the value for $(AS) is set to to invoke the toolchain's $(AS) directly, and the output of it goes to a.out. So, define $(AS) with $(CC -c) Reported-by: Кирилл Луценко Signed-off-by: Romain Naour Signed-off-by: Peter Korsgaard --- package/infozip/infozip.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/infozip/infozip.mk b/package/infozip/infozip.mk index d73edd40c5..cc2bd34eac 100644 --- a/package/infozip/infozip.mk +++ b/package/infozip/infozip.mk @@ -11,7 +11,7 @@ INFOZIP_LICENSE = Info-ZIP INFOZIP_LICENSE_FILES = LICENSE define INFOZIP_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile generic + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) AS="$(TARGET_CC) -c" -f unix/Makefile generic endef define INFOZIP_INSTALL_TARGET_CMDS -- 2.30.2