From: Richard Genoud <richard.genoud@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] infozip: fix compilation with LARGE_FILE_SUPPORT
Date: Tue, 20 Jan 2015 11:16:02 +0100 [thread overview]
Message-ID: <1421748962-838-1-git-send-email-richard.genoud@gmail.com> (raw)
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
---
package/infozip/infozip.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/infozip/infozip.mk b/package/infozip/infozip.mk
index 229299c52f11..d857df6dd3e9 100644
--- a/package/infozip/infozip.mk
+++ b/package/infozip/infozip.mk
@@ -14,9 +14,15 @@ ifeq ($(BR2_PACKAGE_BZIP2),y)
INFOZIP_DEPENDENCIES += bzip2
endif
+INFOZIP_CFLAGS = -I. -DUNIX
+
+ifeq ($(BR2_LARGEFILE),y)
+INFOZIP_CFLAGS += -DLARGE_FILE_SUPPORT
+endif
+
define INFOZIP_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
- CFLAGS="$(TARGET_CFLAGS) -I. -DUNIX" \
+ CFLAGS="$(TARGET_CFLAGS) $(INFOZIP_CFLAGS)" \
AS="$(TARGET_CC) -c" \
-f unix/Makefile generic
endef
--
2.0.0
next reply other threads:[~2015-01-20 10:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 10:16 Richard Genoud [this message]
2015-01-20 16:41 ` [Buildroot] [PATCH] infozip: fix compilation with LARGE_FILE_SUPPORT Thomas Petazzoni
2015-01-22 23:43 ` Romain Naour
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1421748962-838-1-git-send-email-richard.genoud@gmail.com \
--to=richard.genoud@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox