aboutsummaryrefslogtreecommitdiff
path: root/package/cloop
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-08-01 14:21:08 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-08-01 20:12:04 +0200
commitedf97df877694632111c029a0350732d8beca568 (patch)
tree427a1cc206f35018ebe5743ed4cd1d38b273fc8d /package/cloop
parent499dfc941036b16a7bf615112b0a24e0daac9c41 (diff)
downloadbuildroot-edf97df877694632111c029a0350732d8beca568.tar.gz
buildroot-edf97df877694632111c029a0350732d8beca568.tar.bz2
package/cloop: needs _GNU_SOURCE
host-cloop needs _GNU_SOURCE for loff_t otherwise build fails with gcc 8.3.0 on: extract_compressed_fs.c: In function 'main': extract_compressed_fs.c:55:2: error: unknown type name 'loff_t'; did you mean 'off_t'? loff_t *offsets; Fixes: - No autobuilder failures Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/cloop')
-rw-r--r--package/cloop/cloop.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk
index ad50d0a94a..585f422ce3 100644
--- a/package/cloop/cloop.mk
+++ b/package/cloop/cloop.mk
@@ -13,7 +13,8 @@ CLOOP_LICENSE_FILES = README advancecomp-1.15/COPYING
HOST_CLOOP_DEPENDENCIES = host-zlib
define HOST_CLOOP_BUILD_CMDS
- $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes
+ $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \
+ CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE"
endef
define HOST_CLOOP_INSTALL_CMDS