aboutsummaryrefslogtreecommitdiff
path: root/package/infozip
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@openwide.fr>2014-01-30 23:14:58 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-02-02 10:24:37 +0100
commit08cd1208e5e8cef7d65cbb26f6145a3fa149636f (patch)
treee17a4aaa18c3d42abb69fc0e4b28191461601e6e /package/infozip
parent267edbf9aa24faa688bcc6785ffb8d50059195f8 (diff)
downloadbuildroot-08cd1208e5e8cef7d65cbb26f6145a3fa149636f.tar.gz
buildroot-08cd1208e5e8cef7d65cbb26f6145a3fa149636f.tar.bz2
infozip: fix $(AS) behavior
infozip's Makefile expect $(AS) to output by default to <basename>.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: Кирилл Луценко <lucenko_kirill@mail.ru> Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/infozip')
-rw-r--r--package/infozip/infozip.mk2
1 files changed, 1 insertions, 1 deletions
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